1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Assembler/invalid-dicompileunit-language-overflow.ll

10 lines
411 B
LLVM
Raw Normal View History

; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
; CHECK-NOT: error:
!0 = distinct !DICompileUnit(language: 65535,
file: !DIFile(filename: "a", directory: "b"))
; CHECK: <stdin>:[[@LINE+1]]:40: error: value for 'language' too large, limit is 65535
!1 = distinct !DICompileUnit(language: 65536,
file: !DIFile(filename: "a", directory: "b"))