@top T { X }

@tokens {
  X { y }
}

//! Reference to token rule 'y', which isn't found
