aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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; }