xref: /llvm-project/llvm/test/Assembler/invalid-dicompileunit-language-bad.ll (revision 55ca964e944b610bfa09dd52490772b3d9f92fea)
1; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
2
3; CHECK: <stdin>:[[@LINE+1]]:40: error: invalid DWARF language 'DW_LANG_NoSuchLanguage'
4!0 = distinct !DICompileUnit(language: DW_LANG_NoSuchLanguage,
5                             file: !DIFile(filename: "a", directory: "b"))
6