]> gcc.gnu.org Git - gcc.git/commitdiff
gccrs: Add a new regression test
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Tue, 10 Oct 2023 08:21:16 +0000 (10:21 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:09:14 +0000 (19:09 +0100)
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>
gcc/testsuite/rust/compile/parse_generic_path_expr.rs [new file with mode: 0644]

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 (file)
index 0000000..a340067
--- /dev/null
@@ -0,0 +1,4 @@
+// { dg-additional-options "-frust-compile-until=ast" }
+fn main() {
+    only_foo::<<i32 as Bar>::Item>();
+}
This page took 0.063188 seconds and 5 git commands to generate.