Skip to content

Commit a4ad4e2

Browse files
committed
Add a test for macros default! and union!
1 parent 52ed09e commit a4ad4e2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

corpus/macros.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ a!(b + c + +);
2828
a!('a'..='z');
2929
a!('\u{0}'..='\u{2}');
3030
a!('lifetime)
31+
default!(a);
32+
union!(a);
3133

3234
----
3335

@@ -50,6 +52,12 @@ a!('lifetime)
5052
(macro_invocation
5153
(identifier)
5254
(token_tree (char_literal) (char_literal)))
55+
(macro_invocation
56+
(identifier)
57+
(token_tree (identifier)))
58+
(macro_invocation
59+
(identifier)
60+
(token_tree (identifier)))
5361
(macro_invocation
5462
(identifier)
5563
(token_tree (identifier))))

0 commit comments

Comments
 (0)