diff options
Diffstat (limited to 'tests/ui/parser/issue-103425.rs')
-rw-r--r-- | tests/ui/parser/issue-103425.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/parser/issue-103425.rs b/tests/ui/parser/issue-103425.rs new file mode 100644 index 000000000..c2f8123ca --- /dev/null +++ b/tests/ui/parser/issue-103425.rs @@ -0,0 +1,15 @@ +fn f() -> f32 { + 3 + //~^ ERROR expected `;` + 5.0 +} + +fn k() -> f32 { + 2_u32 + //~^ ERROR expected `;` + 3_i8 + //~^ ERROR expected `;` + 5.0 +} + +fn main() {} |