diff options
Diffstat (limited to 'gcc/testsuite/rust/compile/issue-3568.rs')
-rw-r--r-- | gcc/testsuite/rust/compile/issue-3568.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/rust/compile/issue-3568.rs b/gcc/testsuite/rust/compile/issue-3568.rs new file mode 100644 index 0000000..222a174 --- /dev/null +++ b/gcc/testsuite/rust/compile/issue-3568.rs @@ -0,0 +1,7 @@ +pub type T = (); +mod foo { + pub use super::T; +} + +pub use foo::super::foo::S as T; +// { dg-error ".super. can only be used in start position" "" { target *-*-* } .-1 } |