summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-5544-b.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issues/issue-5544-b.rs')
-rw-r--r--tests/ui/parser/issues/issue-5544-b.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-5544-b.rs b/tests/ui/parser/issues/issue-5544-b.rs
new file mode 100644
index 000000000..93f2ff271
--- /dev/null
+++ b/tests/ui/parser/issues/issue-5544-b.rs
@@ -0,0 +1,4 @@
+fn main() {
+ let __isize = 0xffff_ffff_ffff_ffff_ffff_ffff_ffff_ffff_ff;
+ //~^ ERROR integer literal is too large
+}