[gcc r14-8040] gccrs: Add regression test

Arthur Cohen cohenarthur@gcc.gnu.org
Tue Jan 16 18:13:24 GMT 2024


https://gcc.gnu.org/g:378c26f5a34272c7fbde0ff3c7392e6ab8240c05

commit r14-8040-g378c26f5a34272c7fbde0ff3c7392e6ab8240c05
Author: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Date:   Mon Oct 16 11:41:27 2023 +0200

    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>

Diff:
---
 gcc/testsuite/rust/compile/parse_pub_unit_type.rs | 1 +
 1 file changed, 1 insertion(+)

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 00000000000..c79f1990ccb
--- /dev/null
+++ b/gcc/testsuite/rust/compile/parse_pub_unit_type.rs
@@ -0,0 +1 @@
+pub struct Foo(pub ());


More information about the Gcc-cvs mailing list