commit | 9e137aad7850773b6a18227550b850f2f468e2ed | [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 | f54e05a344ba50f2df8351c8554ca39b8d85eb72 | |
parent | 3e14c152c6a71b19882aee15837cb670576cd7ff [diff] [blame] |
fix a couple switch codegen problems Oliver reported. llvm-svn: 44484
diff --git a/clang/test/CodeGen/switch.c b/clang/test/CodeGen/switch.c index a4d77b9..3697ce7 100644 --- a/clang/test/CodeGen/switch.c +++ b/clang/test/CodeGen/switch.c
@@ -64,3 +64,13 @@ } return j; } + +void foo5(){ + switch(0){ + default: + if (0) { + + } + } +} +