diff options
Diffstat (limited to 'llvm/test/Assembler/invalid-dilocation-field-twice.ll')
-rw-r--r-- | llvm/test/Assembler/invalid-dilocation-field-twice.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Assembler/invalid-dilocation-field-twice.ll b/llvm/test/Assembler/invalid-dilocation-field-twice.ll new file mode 100644 index 00000000000..d1dab68246c --- /dev/null +++ b/llvm/test/Assembler/invalid-dilocation-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 = !DILocation(line: 3, scope: !0, line: 3) |