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