llvm-project/llvm/test/Assembler/invalid-mdcompileunit-null-...

5 lines
155 B
LLVM

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