diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-10-10 10:21:16 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:09:14 +0100 |
commit | 10af70269c8858444b8c5f7c22a5b51be7af9ac2 (patch) | |
tree | 605b7e44083bf3d39de302d47556582a75ce3d92 /gcc | |
parent | 061c5d2e24831e520c2deaa383c7ba2041e89146 (diff) | |
download | gcc-10af70269c8858444b8c5f7c22a5b51be7af9ac2.zip gcc-10af70269c8858444b8c5f7c22a5b51be7af9ac2.tar.gz gcc-10af70269c8858444b8c5f7c22a5b51be7af9ac2.tar.bz2 |
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>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/rust/compile/parse_generic_path_expr.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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 0000000..a340067 --- /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>(); +} |