diff options
Diffstat (limited to 'test/Assembler/invalid-mdcompileunit-null-file.ll')
-rw-r--r-- | test/Assembler/invalid-mdcompileunit-null-file.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/invalid-mdcompileunit-null-file.ll b/test/Assembler/invalid-mdcompileunit-null-file.ll new file mode 100644 index 0000000..613948f --- /dev/null +++ b/test/Assembler/invalid-mdcompileunit-null-file.ll @@ -0,0 +1,4 @@ +; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s + +; CHECK: <stdin>:[[@LINE+1]]:27: error: 'file' cannot be null +!0 = !MDCompileUnit(file: null) |