diff options
Diffstat (limited to 'test/CodeGen/X86/GC/badreadproto.ll')
| -rw-r--r-- | test/CodeGen/X86/GC/badreadproto.ll | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/CodeGen/X86/GC/badreadproto.ll b/test/CodeGen/X86/GC/badreadproto.ll deleted file mode 100644 index 37672f804357..000000000000 --- a/test/CodeGen/X86/GC/badreadproto.ll +++ /dev/null @@ -1,13 +0,0 @@ -; RUN: not llvm-as < %s >& /dev/null - - %list = type { i32, %list* } - -; This usage is invalid now; instead, objects must be bitcast to i8* for input -; to the gc intrinsics. -declare %list* @llvm.gcread(%list*, %list**) - -define %list* @tl(%list* %l) gc "example" { - %hd.ptr = getelementptr %list, %list* %l, i32 0, i32 0 - %hd = call %list* @llvm.gcread(%list* %l, %list** %hd.ptr) - ret i32 %tmp -} |
