summaryrefslogtreecommitdiffstats
path: root/third_party/rust/proc-macro-hack/tests/ui/private.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/proc-macro-hack/tests/ui/private.rs')
-rw-r--r--third_party/rust/proc-macro-hack/tests/ui/private.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/rust/proc-macro-hack/tests/ui/private.rs b/third_party/rust/proc-macro-hack/tests/ui/private.rs
new file mode 100644
index 0000000000..1ab84446c7
--- /dev/null
+++ b/third_party/rust/proc-macro-hack/tests/ui/private.rs
@@ -0,0 +1,8 @@
+use proc_macro_hack::proc_macro_hack;
+
+#[proc_macro_hack]
+fn my_macro(input: TokenStream) -> TokenStream {
+ unimplemented!()
+}
+
+fn main() {}