diff --git a/gcc/testsuite/rust/compile/parse_generic_path_expr.rs b/gcc/testsuite/rust/compile/parse_generic_path_expr.rs new file mode 100644 index 000000000000..a340067e9ea5 --- /dev/null +++ b/gcc/testsuite/rust/compile/parse_generic_path_expr.rs @@ -0,0 +1,4 @@ +// { dg-additional-options "-frust-compile-until=ast" } +fn main() { + only_foo::<::Item>(); +}