llvm-mirror/test/Assembler/invalid-dilexicalblock-null-scope.ll

5 lines
158 B
LLVM
Raw Normal View History

; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
; CHECK: <stdin>:[[@LINE+1]]:29: error: 'scope' cannot be null
!0 = !DILexicalBlock(scope: null)