diff --git a/corpus/error.stray_identifier.txt b/corpus/error.stray_identifier.txt new file mode 100644 index 00000000..81218358 --- /dev/null +++ b/corpus/error.stray_identifier.txt @@ -0,0 +1,23 @@ +===================== +Stray identifier before macro call +===================== + +macro_rules! impl_pred {} + +// TODO +i +impl_pred!(foo, bar); + +--- + +(source_file + (macro_definition name: + (identifier)) + (line_comment) + (macro_invocation macro: + (identifier) + (ERROR + (identifier)) + (token_tree + (identifier) + (identifier))))