diff options
Diffstat (limited to 'test/Assembler/invalid_cast4.ll')
-rw-r--r-- | test/Assembler/invalid_cast4.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/invalid_cast4.ll b/test/Assembler/invalid_cast4.ll new file mode 100644 index 0000000..7056f84 --- /dev/null +++ b/test/Assembler/invalid_cast4.ll @@ -0,0 +1,4 @@ +; RUN: not llvm-as < %s 2>&1 | FileCheck %s + +; CHECK: invalid cast opcode for cast from 'i64' to 'i64' +global i64* inttoptr (i64 0 to i64) |