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