commit | 51eaf1b59c75756466b07958ca8e0eeb796df023 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Mon May 12 16:08:04 2008 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Mon May 12 16:08:04 2008 +0000 |
tree | 822daf1e7169d1af412fc37bcb7c504801b641c6 | |
parent | bb822fbce32f92635ea7f20b76e6e86e397552ef [diff] [blame] |
Emit basic block for switch body; fixes PR2307. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50968 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/switch.c b/test/CodeGen/switch.c index a21505e..0563374 100644 --- a/test/CodeGen/switch.c +++ b/test/CodeGen/switch.c
@@ -74,3 +74,14 @@ } } +void foo6(){ + switch(0){ + } +} + +void foo7(){ + switch(0){ + foo7(); + } +} +