gccrs: Add a test to highlight public trait type parsing

This new test highlight the parser's behavior around public trait types.

gcc/testsuite/ChangeLog:

	* rust/compile/trait_pub_type.rs: New test.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
This commit is contained in:
Pierre-Emmanuel Patry 2023-11-02 17:29:16 +01:00 committed by Arthur Cohen
parent ceed844b52
commit bf47346052

View file

@ -0,0 +1,6 @@
fn main() {}
#[cfg(FALSE)]
trait T {
pub type X;
}