diff options
Diffstat (limited to 'tests/ui/parser/macros-no-semicolon.rs')
-rw-r--r-- | tests/ui/parser/macros-no-semicolon.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/parser/macros-no-semicolon.rs b/tests/ui/parser/macros-no-semicolon.rs new file mode 100644 index 000000000..24d1ae9e6 --- /dev/null +++ b/tests/ui/parser/macros-no-semicolon.rs @@ -0,0 +1,5 @@ +fn main() { + assert_eq!(1, 2) //~ ERROR: expected `;` + assert_eq!(3, 4) //~ ERROR: expected `;` + println!("hello"); +} |