about summary refs log tree commit diff
path: root/tests/target/impls.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/target/impls.rs')
-rw-r--r--tests/target/impls.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/target/impls.rs b/tests/target/impls.rs
index bf63f924a33..99e02990e41 100644
--- a/tests/target/impls.rs
+++ b/tests/target/impls.rs
@@ -21,6 +21,14 @@ pub impl Foo for Bar {
     // Comment 3
 }
 
+#[inherent]
+impl Visible for Bar {
+    pub const C: i32;
+    pub type T;
+    pub fn f();
+    pub fn g() {}
+}
+
 pub unsafe impl<'a, 'b, X, Y: Foo<Bar>> !Foo<'a, X> for Bar<'b, Y>
 where
     X: Foo<'a, Z>,