From: Pierre-Emmanuel Patry Date: Tue, 10 Oct 2023 08:21:16 +0000 (+0200) Subject: gccrs: Add a new regression test X-Git-Tag: basepoints/gcc-15~2094 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10af70269c8858444b8c5f7c22a5b51be7af9ac2;p=thirdparty%2Fgcc.git 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 --- 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>(); +}