Skip to content

Commit b4611b1

Browse files
committed
Add regression test
1 parent e01a2ba commit b4611b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/compile-fail/macro-with-seps-err-msg.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// error-pattern:expected macro name without module separators
12-
1311
fn main() {
14-
globnar::brotz!();
12+
globnar::brotz!(); //~ ERROR expected macro name without module separators
13+
::foo!(); //~ ERROR expected macro name without module separators
14+
foo::<T>!(); //~ ERROR expected macro name without module separators
1515
}

0 commit comments

Comments
 (0)