commit | dc2cc67e57ccc23ccbf4865e534b38b687c9fce3 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Feb 28 01:06:02 2011 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Feb 28 01:06:02 2011 +0000 |
tree | 3ec2249038bf83677d4fd1884261e462e92eaa80 | |
parent | 0709542628f3e11d07eb4a57e62e1818b07fb808 [diff] [blame] |
remove a bogus assertion, add a comment. llvm-svn: 126603
diff --git a/clang/test/CodeGen/switch-dce.c b/clang/test/CodeGen/switch-dce.c index 3276737..95c5e03 100644 --- a/clang/test/CodeGen/switch-dce.c +++ b/clang/test/CodeGen/switch-dce.c
@@ -167,3 +167,16 @@ } } + +int test10(void) { + switch(8) { + case 8: + break; + case 4: + break; + default: + dead(); + } + + return 0; +}