llvm/test/CodeGen/PowerPC/2009-01-16-DeclareISelBug.ll
raw| 1 | ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu.5 |
| 2 | ; rdar://6499616 |
| 3 | |
| 4 | @"\01LC" = internal constant [13 x i8] c"conftest.val\00" ; <ptr> [#uses=1] |
| 5 | |
| 6 | define i32 @main() nounwind { |
| 7 | entry: |
| 8 | %0 = call ptr @fopen(ptr @"\01LC", ptr null) nounwind ; <ptr> [#uses=0] |
| 9 | unreachable |
| 10 | } |
| 11 | |
| 12 | declare ptr @fopen(ptr, ptr) |