Skip to content

Commit

Permalink
Add a new regression test
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
P-E-P committed Oct 10, 2023
1 parent 83dffb5 commit e6ebd00
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gcc/testsuite/rust/compile/parse_generic_path_expr.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// { dg-additional-options "-frust-compile-until=ast" }
fn main() {
only_foo::<<i32 as Bar>::Item>();
}

0 comments on commit e6ebd00

Please sign in to comment.