llvm.org GIT mirror llvm / 07ad63b
Add another test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15718 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 15 years ago
1 changed file(s) with 16 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
11
22 implementation
33
4 void %l102_yyparse() {
4 void %test1() {
55 no_exit.0.i:
66 br bool false, label %yylex.entry, label %yylex.entry
77
99 %tmp.1027 = phi int [ 0, %no_exit.0.i ], [ 0, %no_exit.0.i ]
1010 ret void
1111 }
12
13 void %test2() {
14 no_exit.0.i:
15 switch uint 0, label %yylex.entry [
16 uint 0, label %yylex.entry
17 uint 1, label %foo
18 ]
19
20 yylex.entry:
21 %tmp.1027 = phi int [ 0, %no_exit.0.i ], [ 0, %no_exit.0.i ]
22 ret void
23 foo:
24 ret void
25 }
26