diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2008-05-12 16:08:04 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2008-05-12 16:08:04 +0000 |
commit | d28a80d64616b66c91d28bb4c08ca2d8c594de4e (patch) | |
tree | 822daf1e7169d1af412fc37bcb7c504801b641c6 /test/CodeGen/switch.c | |
parent | c8ba9614ca5469c3ae259e3ec09792f4b8969397 (diff) |
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
Diffstat (limited to 'test/CodeGen/switch.c')
-rw-r--r-- | test/CodeGen/switch.c | 11 |
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(); + } +} + |