diff options
| author | Chris Lattner <sabre@nondot.org> | 2011-02-28 01:06:02 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2011-02-28 01:06:02 +0000 |
| commit | dc2cc67e57ccc23ccbf4865e534b38b687c9fce3 (patch) | |
| tree | 3ec2249038bf83677d4fd1884261e462e92eaa80 /clang/test/CodeGen/switch-dce.c | |
| parent | 0709542628f3e11d07eb4a57e62e1818b07fb808 (diff) | |
| download | bcm5719-llvm-dc2cc67e57ccc23ccbf4865e534b38b687c9fce3.tar.gz bcm5719-llvm-dc2cc67e57ccc23ccbf4865e534b38b687c9fce3.zip | |
remove a bogus assertion, add a comment.
llvm-svn: 126603
Diffstat (limited to 'clang/test/CodeGen/switch-dce.c')
| -rw-r--r-- | clang/test/CodeGen/switch-dce.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/clang/test/CodeGen/switch-dce.c b/clang/test/CodeGen/switch-dce.c index 32767377931..95c5e03633a 100644 --- a/clang/test/CodeGen/switch-dce.c +++ b/clang/test/CodeGen/switch-dce.c @@ -167,3 +167,16 @@ void test9(int i) { } } + +int test10(void) { + switch(8) { + case 8: + break; + case 4: + break; + default: + dead(); + } + + return 0; +} |

