From 85d8b2bbe386bcfe669575d05b61482d7be07e5d Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Tue, 9 Jun 2015 19:06:30 +0000 Subject: Vendor import of llvm trunk r239412: https://llvm.org/svn/llvm-project/llvm/trunk@239412 --- test/Assembler/invalid-dilocation-null-scope.ll | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/Assembler/invalid-dilocation-null-scope.ll (limited to 'test/Assembler/invalid-dilocation-null-scope.ll') 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: :[[@LINE+1]]:25: error: 'scope' cannot be null +!0 = !DILocation(scope: null) -- cgit v1.2.3