diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-10-10 10:21:16 +0200 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-10-17 11:43:13 +0000 |
commit | ba0fb415bf2faeedaf6f1888182385f5b502bd8c (patch) | |
tree | ad050e77c8c31cc391d10b21d8cef079adce7a10 /gcc | |
parent | 0ad109695216a5655bf890d8565b68890017db7a (diff) | |
download | gcc-ba0fb415bf2faeedaf6f1888182385f5b502bd8c.zip gcc-ba0fb415bf2faeedaf6f1888182385f5b502bd8c.tar.gz gcc-ba0fb415bf2faeedaf6f1888182385f5b502bd8c.tar.bz2 |
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>(); +} |