summaryrefslogtreecommitdiffstats
path: root/lldb/test/Import/if-stmt/Inputs/F.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/Import/if-stmt/Inputs/F.cpp')
-rw-r--r--lldb/test/Import/if-stmt/Inputs/F.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/lldb/test/Import/if-stmt/Inputs/F.cpp b/lldb/test/Import/if-stmt/Inputs/F.cpp
new file mode 100644
index 00000000000..a7062c94ea7
--- /dev/null
+++ b/lldb/test/Import/if-stmt/Inputs/F.cpp
@@ -0,0 +1,21 @@
+void f() {
+ if (true)
+ return;
+
+ if (int j = 3)
+ return;
+
+ if (int j; true)
+ return;
+
+ if (true)
+ return;
+ else
+ return;
+
+ if (true) {
+ return;
+ } else {
+ return;
+ }
+}
OpenPOWER on IntegriCloud