aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-3605.rs
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/rust/compile/issue-3605.rs')
-rw-r--r--gcc/testsuite/rust/compile/issue-3605.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/rust/compile/issue-3605.rs b/gcc/testsuite/rust/compile/issue-3605.rs
new file mode 100644
index 0000000..05e6e48
--- /dev/null
+++ b/gcc/testsuite/rust/compile/issue-3605.rs
@@ -0,0 +1,5 @@
+enum Foo<'a> {}
+
+enum Bar<'a> {
+ in_band_def_explicit_impl(Foo<'a>),
+}