Recommit r310809 with a fix for the spill problem
[llvm-core.git] / test / CodeGen / PowerPC / 2009-01-16-DeclareISelBug.ll
blobca39f9ca56e2e75fcfd3f0edbd2d6cc0e788261c
1 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin9.5
2 ; rdar://6499616
4 @"\01LC" = internal constant [13 x i8] c"conftest.val\00"               ; <[13 x i8]*> [#uses=1]
6 define i32 @main() nounwind {
7 entry:
8         %0 = call i8* @fopen(i8* getelementptr ([13 x i8], [13 x i8]* @"\01LC", i32 0, i32 0), i8* null) nounwind               ; <i8*> [#uses=0]
9         unreachable
12 declare i8* @fopen(i8*, i8*)