xref: /aosp_15_r20/external/llvm/test/Assembler/invalid-dicompileunit-language-bad.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
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