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.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/switch.c b/test/CodeGen/switch.c
index a21505ef89..056337465b 100644
--- a/test/CodeGen/switch.c
+++ b/test/CodeGen/switch.c
@@ -74,3 +74,14 @@ void foo5(){
}
}
+void foo6(){
+ switch(0){
+ }
+}
+
+void foo7(){
+ switch(0){
+ foo7();
+ }
+}
+