diff options
Diffstat (limited to 'test/Assembler/invalid-mdlocation-field-twice.ll')
-rw-r--r-- | test/Assembler/invalid-mdlocation-field-twice.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Assembler/invalid-mdlocation-field-twice.ll b/test/Assembler/invalid-mdlocation-field-twice.ll new file mode 100644 index 0000000..2335c93 --- /dev/null +++ b/test/Assembler/invalid-mdlocation-field-twice.ll @@ -0,0 +1,6 @@ +; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s + +!0 = !{} + +; CHECK: <stdin>:[[@LINE+1]]:38: error: field 'line' cannot be specified more than once +!1 = !MDLocation(line: 3, scope: !0, line: 3) |