summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/stmts.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/stmts.h')
-rw-r--r--clang/test/PCH/stmts.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/clang/test/PCH/stmts.h b/clang/test/PCH/stmts.h
index 7290d2efcb0..685811ad080 100644
--- a/clang/test/PCH/stmts.h
+++ b/clang/test/PCH/stmts.h
@@ -39,10 +39,12 @@ void f0(int x) {
x++;
} while (x < 10);
- for (; x < 20; ++x) {
- if (x == 12)
+ for (int y = x; y < 20; ++y) {
+ if (x + y == 12)
return;
}
+
+ int z = x, *y, j = 5;
}
int f1(int x) {
@@ -56,3 +58,5 @@ int f1(int x) {
return x*2;
}
+
+const char* what_is_my_name(void) { return __func__; }
OpenPOWER on IntegriCloud