diff options
Diffstat (limited to 'src/test/incremental/rlib_cross_crate/auxiliary')
-rw-r--r-- | src/test/incremental/rlib_cross_crate/auxiliary/a.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/incremental/rlib_cross_crate/auxiliary/a.rs b/src/test/incremental/rlib_cross_crate/auxiliary/a.rs new file mode 100644 index 000000000..5a26df9ae --- /dev/null +++ b/src/test/incremental/rlib_cross_crate/auxiliary/a.rs @@ -0,0 +1,16 @@ +// no-prefer-dynamic +// compile-flags: -Z query-dep-graph + +#![crate_type="rlib"] + +#[cfg(rpass1)] +pub type X = u32; + +#[cfg(rpass2)] +pub type X = i32; + +// this version doesn't actually change anything: +#[cfg(rpass3)] +pub type X = i32; + +pub type Y = char; |