Add another test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15718 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-08-13 03:27:48 +00:00
parent a670c684a6
commit 07ad63bee9

View File

@ -2,7 +2,7 @@
implementation
void %l102_yyparse() {
void %test1() {
no_exit.0.i:
br bool false, label %yylex.entry, label %yylex.entry
@ -10,3 +10,18 @@ yylex.entry:
%tmp.1027 = phi int [ 0, %no_exit.0.i ], [ 0, %no_exit.0.i ]
ret void
}
void %test2() {
no_exit.0.i:
switch uint 0, label %yylex.entry [
uint 0, label %yylex.entry
uint 1, label %foo
]
yylex.entry:
%tmp.1027 = phi int [ 0, %no_exit.0.i ], [ 0, %no_exit.0.i ]
ret void
foo:
ret void
}