]> git.proxmox.com Git - rustc.git/blame - src/test/ui/macros/macro-multiple-items.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / macros / macro-multiple-items.rs
CommitLineData
b7449926 1// run-pass
1a4d82fc
JJ
2macro_rules! make_foo {
3 () => (
4 struct Foo;
223e47cc 5
1a4d82fc
JJ
6 impl Foo {
7 fn bar(&self) {}
8 }
9 )
223e47cc
LB
10}
11
1a4d82fc 12make_foo!();
223e47cc
LB
13
14pub fn main() {
1a4d82fc 15 Foo.bar()
223e47cc 16}