From: Pierre-Emmanuel Patry Date: Mon, 16 Oct 2023 09:41:27 +0000 (+0200) Subject: gccrs: Add regression test X-Git-Tag: basepoints/gcc-15~2099 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=378c26f5a34272c7fbde0ff3c7392e6ab8240c05;p=thirdparty%2Fgcc.git 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 --- 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 000000000000..c79f1990ccb4 --- /dev/null +++ b/gcc/testsuite/rust/compile/parse_pub_unit_type.rs @@ -0,0 +1 @@ +pub struct Foo(pub ());