aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/macro4.rs
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/rust/compile/macro4.rs')
-rw-r--r--gcc/testsuite/rust/compile/macro4.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/rust/compile/macro4.rs b/gcc/testsuite/rust/compile/macro4.rs
new file mode 100644
index 0000000..47ff6c9
--- /dev/null
+++ b/gcc/testsuite/rust/compile/macro4.rs
@@ -0,0 +1,3 @@
+macro_rules! one_keyword {
+ (kw) => {};
+}