aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/macro22.rs
blob: bdc4bada2704bafadb8bdb7e32935bdfc584b8dc (plain)
1
2
3
4
5
6
7
8
9
10
macro_rules! print {
    () => {
        fn puts(s: *const i8);
        fn printf(fmt: *const i8, ...);
    };
}

extern "C" {
    print! {}
}