commit | cc5c8dfb9c2c64b6869c8a30ab8db9bafb3322f6 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Dec 01 05:27:33 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Dec 01 05:27:33 2007 +0000 |
tree | 9fdfbec3fd24698df0f47f4406e3de34f2809be0 | |
parent | 04de5d8abbb050d49b8881f7c94165762833e3f3 [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
diff --git a/test/CodeGen/switch.c b/test/CodeGen/switch.c index a4d77b9..3697ce7 100644 --- a/test/CodeGen/switch.c +++ b/test/CodeGen/switch.c
@@ -64,3 +64,13 @@ } return j; } + +void foo5(){ + switch(0){ + default: + if (0) { + + } + } +} +