Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[llvm/avr.git] / test / Transforms / ScalarRepl / 2006-04-20-PromoteCrash.ll
blob63840f1b3c03353e9f871a01ea710f8f888d685b
1 ; RUN: opt < %s -scalarrepl -disable-output
3 define void @output_toc() {
4 entry:
5         %buf = alloca [256 x i8], align 16              ; <[256 x i8]*> [#uses=1]
6         %name = alloca i8*, align 4             ; <i8**> [#uses=1]
7         %real_name = alloca i8*, align 4                ; <i8**> [#uses=0]
8         %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
9         %buf.upgrd.1 = bitcast [256 x i8]* %buf to i8*          ; <i8*> [#uses=1]
10         store i8* %buf.upgrd.1, i8** %name
11         call void @abort( )
12         unreachable
13 return:         ; No predecessors!
14         ret void
17 declare void @abort()