aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-25 21:57:08 +0000
committerChris Lattner <sabre@nondot.org>2007-08-25 21:57:08 +0000
commit9c62c1d6282ca62200c3887a6837e4eedda53a0f (patch)
tree84a3bbfafd05dd378ca0f75c6545dad4032966c9
parent3b44b57423a61e4933e7506c78ff098a8638f961 (diff)
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41406 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/compound.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/compound.c b/test/CodeGen/compound.c
index e3fae127fd..778a5ce968 100644
--- a/test/CodeGen/compound.c
+++ b/test/CodeGen/compound.c
@@ -3,7 +3,7 @@ int A;
long long B;
int C;
int *P;
-void foo() {
+void test1() {
C = (A /= B);
P -= 4;
@@ -11,4 +11,6 @@ void foo() {
C = P - (P+10);
}
+short x;
+void test2(char c) { x += c; }