summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/2009-01-16-DeclareISelBug.ll
blob: a2906216f3a6c7aff8b452ac663f67426d0148b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu.5
; rdar://6499616

@"\01LC" = internal constant [13 x i8] c"conftest.val\00"		; <[13 x i8]*> [#uses=1]

define i32 @main() nounwind {
entry:
	%0 = call i8* @fopen(i8* getelementptr ([13 x i8], [13 x i8]* @"\01LC", i32 0, i32 0), i8* null) nounwind		; <i8*> [#uses=0]
	unreachable
}

declare i8* @fopen(i8*, i8*)
OpenPOWER on IntegriCloud