add tests for ICE 94432

Fixes #94432
This commit is contained in:
Matthias Krüger 2022-06-29 21:30:19 +02:00
parent 3fcf43bb0f
commit 726d6136e3

View File

@ -0,0 +1,10 @@
// check-fail
// dont-check-compiler-stdout
// dont-check-compiler-stderr
fn<EFBFBD>a<e>(){fn<EFBFBD>p(){e}} //~ ERROR unknown start of token: \u{fffd}
//~^ ERROR unknown start of token: \u{fffd}
//~^^ ERROR can't use generic parameters from outer function [E0401]
//~^^^ WARN type parameter `e` should have an upper camel case name
fn main(){}