diff options
Diffstat (limited to 'src/test/ui/parser/old-suffixes-are-really-forbidden.rs')
-rw-r--r-- | src/test/ui/parser/old-suffixes-are-really-forbidden.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/ui/parser/old-suffixes-are-really-forbidden.rs b/src/test/ui/parser/old-suffixes-are-really-forbidden.rs new file mode 100644 index 000000000..eea95b7d6 --- /dev/null +++ b/src/test/ui/parser/old-suffixes-are-really-forbidden.rs @@ -0,0 +1,4 @@ +fn main() { + let a = 1_is; //~ ERROR invalid suffix + let b = 2_us; //~ ERROR invalid suffix +} |