summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/PowerPC/2009-01-16-DeclareISelBug.ll
blob: 446b9e959212e72840a44863b1e9be6f49659878 (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"		; <ptr> [#uses=1]

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

declare ptr @fopen(ptr, ptr)