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:
Pierre-Emmanuel Patry 2023-10-10 10:21:16 +02:00 committed by Arthur Cohen
parent 061c5d2e24
commit 10af70269c

View file

@ -0,0 +1,4 @@
// { dg-additional-options "-frust-compile-until=ast" }
fn main() {
only_foo::<<i32 as Bar>::Item>();
}