summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/coherence-all-remote.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/coherence/coherence-all-remote.rs')
-rw-r--r--src/test/ui/coherence/coherence-all-remote.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/coherence/coherence-all-remote.rs b/src/test/ui/coherence/coherence-all-remote.rs
new file mode 100644
index 000000000..5c3bfee82
--- /dev/null
+++ b/src/test/ui/coherence/coherence-all-remote.rs
@@ -0,0 +1,9 @@
+// aux-build:coherence_lib.rs
+
+extern crate coherence_lib as lib;
+use lib::Remote1;
+
+impl<T> Remote1<T> for isize { }
+//~^ ERROR E0210
+
+fn main() { }