aboutsummaryrefslogtreecommitdiff
path: root/test/Assembler/invalid-dicompileunit-language-bad.ll
blob: e6f49f3fba476d3de1a435de2623bb4553be77ef (plain) (blame)
1
2
3
4
5
; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s

; CHECK: <stdin>:[[@LINE+1]]:31: error: invalid DWARF language 'DW_LANG_NoSuchLanguage'
!0 = !DICompileUnit(language: DW_LANG_NoSuchLanguage,
                    file: !DIFile(filename: "a", directory: "b"))