diff options
Diffstat (limited to 'tests/ui/proc-macro/extern-prelude-extern-crate-proc-macro.rs')
-rw-r--r-- | tests/ui/proc-macro/extern-prelude-extern-crate-proc-macro.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/extern-prelude-extern-crate-proc-macro.rs b/tests/ui/proc-macro/extern-prelude-extern-crate-proc-macro.rs new file mode 100644 index 000000000..a6e64e1b1 --- /dev/null +++ b/tests/ui/proc-macro/extern-prelude-extern-crate-proc-macro.rs @@ -0,0 +1,7 @@ +// build-pass (FIXME(62277): could be check-pass?) +// edition:2018 + +extern crate proc_macro; +use proc_macro::TokenStream; // OK + +fn main() {} |