aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/switch.c')
-rw-r--r--test/CodeGen/switch.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/switch.c b/test/CodeGen/switch.c
index a4d77b9c19..3697ce7c02 100644
--- a/test/CodeGen/switch.c
+++ b/test/CodeGen/switch.c
@@ -64,3 +64,13 @@ int foo4(int i) {
}
return j;
}
+
+void foo5(){
+ switch(0){
+ default:
+ if (0) {
+
+ }
+ }
+}
+