summaryrefslogtreecommitdiffstats
path: root/src/test/ui/extern/extern-types-inherent-impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/extern/extern-types-inherent-impl.rs')
-rw-r--r--src/test/ui/extern/extern-types-inherent-impl.rs26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/test/ui/extern/extern-types-inherent-impl.rs b/src/test/ui/extern/extern-types-inherent-impl.rs
deleted file mode 100644
index 3f09ac7b8..000000000
--- a/src/test/ui/extern/extern-types-inherent-impl.rs
+++ /dev/null
@@ -1,26 +0,0 @@
-// Test that inherent impls can be defined for extern types.
-
-// check-pass
-// aux-build:extern-types-inherent-impl.rs
-
-#![feature(extern_types)]
-
-extern crate extern_types_inherent_impl;
-use extern_types_inherent_impl::CrossCrate;
-
-extern "C" {
- type Local;
-}
-
-impl Local {
- fn foo(&self) {}
-}
-
-fn use_foo(x: &Local, y: &CrossCrate) {
- Local::foo(x);
- x.foo();
- CrossCrate::foo(y);
- y.foo();
-}
-
-fn main() {}