diff options
Diffstat (limited to 'test/Assembler/insertvalue-invalid-idx.ll')
-rw-r--r-- | test/Assembler/insertvalue-invalid-idx.ll | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/Assembler/insertvalue-invalid-idx.ll b/test/Assembler/insertvalue-invalid-idx.ll index 86e7258..355d4e8 100644 --- a/test/Assembler/insertvalue-invalid-idx.ll +++ b/test/Assembler/insertvalue-invalid-idx.ll @@ -1,7 +1,9 @@ -; RUN: not llvm-as < %s |& grep {invalid indices for insertvalue} +; RUN: not llvm-as < %s |& FileCheck %s + +; CHECK: invalid indices for insertvalue define void @test() { entry: - insertvalue [0 x i32] undef, i32 0, 0 - ret void + insertvalue [0 x i32] undef, i32 0, 0 + ret void } |