diff options
Diffstat (limited to 'tests/run-make/track-path-dep-info/macro_def.rs')
-rw-r--r-- | tests/run-make/track-path-dep-info/macro_def.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/run-make/track-path-dep-info/macro_def.rs b/tests/run-make/track-path-dep-info/macro_def.rs new file mode 100644 index 000000000..8777ce21f --- /dev/null +++ b/tests/run-make/track-path-dep-info/macro_def.rs @@ -0,0 +1,11 @@ +#![feature(track_path)] +#![crate_type = "proc-macro"] + +extern crate proc_macro; +use proc_macro::*; + +#[proc_macro] +pub fn access_tracked_paths(_: TokenStream) -> TokenStream { + tracked_path::path("emojis.txt"); + TokenStream::new() +} |