gccrs: Add a new regression test
New regression test to highlight behavior of #2652. gcc/testsuite/ChangeLog: * rust/compile/parse_generic_path_expr.rs: New test. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
This commit is contained in:
parent
061c5d2e24
commit
10af70269c
1 changed files with 4 additions and 0 deletions
4
gcc/testsuite/rust/compile/parse_generic_path_expr.rs
Normal file
4
gcc/testsuite/rust/compile/parse_generic_path_expr.rs
Normal file
|
@ -0,0 +1,4 @@
|
|||
// { dg-additional-options "-frust-compile-until=ast" }
|
||||
fn main() {
|
||||
only_foo::<<i32 as Bar>::Item>();
|
||||
}
|
Loading…
Add table
Reference in a new issue