AsmParser now depends on clients to verify that input is well formed
[oota-llvm.git] / test / CBackend / 2002-05-21-MissingReturn.ll
1 ; This case was emitting code that looked like this:
2 ; ...
3 ;   llvm_BB1:       /* no statement here */
4 ; }
5
6 ; Which the Sun C compiler rejected, so now we are sure to put a return 
7 ; instruction in there if the basic block is otherwise empty.
8 ;
9 void "test"() {
10         br label %BB1
11 BB2:
12         br label %BB2
13 BB1:
14         ret void
15 }