summaryrefslogtreecommitdiff
path: root/test/Import/for-stmt/Inputs/F.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Import/for-stmt/Inputs/F.cpp')
-rw-r--r--test/Import/for-stmt/Inputs/F.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Import/for-stmt/Inputs/F.cpp b/test/Import/for-stmt/Inputs/F.cpp
new file mode 100644
index 000000000000..e93e35dd6b79
--- /dev/null
+++ b/test/Import/for-stmt/Inputs/F.cpp
@@ -0,0 +1,11 @@
+void f() {
+ for (;;)
+ ;
+ for (int i = 0;;)
+ continue;
+ for (; bool j = false;)
+ continue;
+ for (int i = 0; i != 0; ++i) {
+ i++;
+ }
+}