diff options
author | Chris Lattner <sabre@nondot.org> | 2007-12-01 05:27:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-12-01 05:27:33 +0000 |
commit | 1438b4918a1658ef6467488109ca434e775e58e5 (patch) | |
tree | 9fdfbec3fd24698df0f47f4406e3de34f2809be0 /test/CodeGen/switch.c | |
parent | 68072a7f22bf73a3d75b6d1e7bf08ebc4d7a4781 (diff) |
fix a couple switch codegen problems Oliver reported.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44484 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/switch.c')
-rw-r--r-- | test/CodeGen/switch.c | 10 |
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) { + + } + } +} + |