[gcc r14-8045] gccrs: Add a new regression test
Arthur Cohen
cohenarthur@gcc.gnu.org
Tue Jan 16 18:13:50 GMT 2024
https://gcc.gnu.org/g:10af70269c8858444b8c5f7c22a5b51be7af9ac2
commit r14-8045-g10af70269c8858444b8c5f7c22a5b51be7af9ac2
Author: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Date: Tue Oct 10 10:21:16 2023 +0200
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>
Diff:
---
gcc/testsuite/rust/compile/parse_generic_path_expr.rs | 4 ++++
1 file changed, 4 insertions(+)
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 00000000000..a340067e9ea
--- /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::<<i32 as Bar>::Item>();
+}
More information about the Gcc-cvs
mailing list