We always have an InstPrinter.
[oota-llvm.git] / test / Assembler / invalid-mdlocation-overflow-line.ll
1 ; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
2
3 !0 = !{}
4
5 ; CHECK-NOT: error:
6 !1 = !DILocation(line: 4294967295, scope: !0)
7
8 ; CHECK: <stdin>:[[@LINE+1]]:24: error: value for 'line' too large, limit is 4294967295
9 !2 = !DILocation(line: 4294967296, scope: !0)