]> git.lizzy.rs Git - rust.git/blob - src/test/ui/test-on-macro.rs
Merge remote-tracking branch 'upstream/master'
[rust.git] / src / test / ui / test-on-macro.rs
1 // compile-pass
2 // compile-flags:--test
3
4 #![deny(warnings)]
5
6 macro_rules! foo {
7     () => (fn foo(){})
8 }
9
10 #[test]
11 foo!();
12
13 fn main(){}