llvm-project/llvm/test/Assembler/invalid-dilocation-null-sco...

5 lines
154 B
LLVM

; 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)