llvm-6502/test/Assembler/invalid-mdcompileunit-missing-language.ll

5 lines
201 B
LLVM
Raw Normal View History

; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
; CHECK: <stdin>:[[@LINE+1]]:65: error: missing required field 'language'
!0 = !MDCompileUnit(file: !MDFile(filename: "a", directory: "b"))