summaryrefslogtreecommitdiffstats
path: root/tests/incremental/incremental_proc_macro.rs
blob: becc1538fb22506a9b44effcb379e73a6ec15840 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// aux-build:incremental_proc_macro_aux.rs
// revisions: cfail1 cfail2
// build-pass (FIXME(62277): could be check-pass?)

// This test makes sure that we still find the proc-macro registrar function
// when we compile proc-macros incrementally (see #47292).

#![crate_type = "rlib"]

#[macro_use]
extern crate incremental_proc_macro_aux;

#[derive(IncrementalMacro)]
pub struct Foo {
    x: u32
}