Verifier: Check accessors of MDLocation
[oota-llvm.git] / test / Assembler / invalid-mdlocation-overflow-line.ll
index 8e19f6919bf9dd823567e49c4a06965636192693..571a555daefccb0c1ab80c634c067d2759146c03 100644 (file)
@@ -2,8 +2,8 @@
 
 !0 = !{}
 
-; CHECK-NOT: error
-!1 = !MDLocation(line: 16777215, scope: !0)
+; CHECK-NOT: error:
+!1 = !MDLocation(line: 4294967295, scope: !0)
 
-; CHECK: <stdin>:[[@LINE+1]]:24: error: value for 'line' too large, limit is 16777215
-!2 = !MDLocation(line: 16777216, scope: !0)
+; CHECK: <stdin>:[[@LINE+1]]:24: error: value for 'line' too large, limit is 4294967295
+!2 = !MDLocation(line: 4294967296, scope: !0)