diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-10-16 11:41:27 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:09:12 +0100 |
commit | 378c26f5a34272c7fbde0ff3c7392e6ab8240c05 (patch) | |
tree | 07641c63b001fc0f9911707264d294fa55e57819 /gcc | |
parent | f209a01840a365365100c0ff4a31c0bab2ed2693 (diff) | |
download | gcc-378c26f5a34272c7fbde0ff3c7392e6ab8240c05.zip gcc-378c26f5a34272c7fbde0ff3c7392e6ab8240c05.tar.gz gcc-378c26f5a34272c7fbde0ff3c7392e6ab8240c05.tar.bz2 |
gccrs: Add regression test
Add a new test to highlight fix for #2648.
gcc/testsuite/ChangeLog:
* rust/compile/parse_pub_unit_type.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_pub_unit_type.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/rust/compile/parse_pub_unit_type.rs b/gcc/testsuite/rust/compile/parse_pub_unit_type.rs new file mode 100644 index 0000000..c79f199 --- /dev/null +++ b/gcc/testsuite/rust/compile/parse_pub_unit_type.rs @@ -0,0 +1 @@ +pub struct Foo(pub ()); |