diff options
Diffstat (limited to 'gcc/testsuite/rust/compile/test_mod.rs')
-rw-r--r-- | gcc/testsuite/rust/compile/test_mod.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/rust/compile/test_mod.rs b/gcc/testsuite/rust/compile/test_mod.rs new file mode 100644 index 0000000..4b3c000 --- /dev/null +++ b/gcc/testsuite/rust/compile/test_mod.rs @@ -0,0 +1,6 @@ +//! test_mod inner doc comment +//! +//! foo bar baz cake pizza carbs + +pub struct Test(pub i32); +// { dg-warning "struct is never constructed" "" { target *-*-* } .-1 } |