80 col violation.
[oota-llvm.git] / test / Transforms / RaiseAllocations / 2007-10-17-InvokeFree.ll
1 ; RUN: opt < %s -raiseallocs -stats -disable-output |&  \
2 ; RUN:  not grep {Number of allocations raised}
3 define void @foo() {
4 entry:
5         %buffer = alloca i16*
6         %tmp = load i16** %buffer, align 8
7         invoke i32(...)* @free(i16* %tmp)
8                 to label %invcont unwind label %unwind
9 invcont:
10         br label %finally
11 unwind:
12         br label %finally
13 finally:
14         ret void
15 }
16 declare i32 @free(...)
17