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