Skip to content

Commit

Permalink
Add regression test
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
P-E-P authored and philberty committed Oct 16, 2023
1 parent 1815409 commit 9d0a073
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gcc/testsuite/rust/compile/parse_pub_unit_type.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub struct Foo(pub ());

0 comments on commit 9d0a073

Please sign in to comment.