about summary refs log tree commit diff
path: root/tests/ui/coherence/coherence-bigint-int.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/coherence/coherence-bigint-int.rs')
-rw-r--r--tests/ui/coherence/coherence-bigint-int.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/coherence/coherence-bigint-int.rs b/tests/ui/coherence/coherence-bigint-int.rs
new file mode 100644
index 00000000000..02945e9dade
--- /dev/null
+++ b/tests/ui/coherence/coherence-bigint-int.rs
@@ -0,0 +1,13 @@
+// run-pass
+// aux-build:coherence_lib.rs
+
+// pretty-expanded FIXME #23616
+
+extern crate coherence_lib as lib;
+use lib::Remote1;
+
+pub struct BigInt;
+
+impl Remote1<BigInt> for isize { }
+
+fn main() { }