Add regression test

This commit is contained in:
Jeffrey Seyfried 2016-06-27 03:17:55 +00:00
parent e01a2ba274
commit b4611b1ff2

View File

@ -8,8 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// error-pattern:expected macro name without module separators
fn main() {
globnar::brotz!();
globnar::brotz!(); //~ ERROR expected macro name without module separators
::foo!(); //~ ERROR expected macro name without module separators
foo::<T>!(); //~ ERROR expected macro name without module separators
}