about summary refs log tree commit diff
path: root/tests/run-make/export/disambiguator/app.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/export/disambiguator/app.rs')
-rw-r--r--tests/run-make/export/disambiguator/app.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run-make/export/disambiguator/app.rs b/tests/run-make/export/disambiguator/app.rs
new file mode 100644
index 00000000000..27e0e2280e5
--- /dev/null
+++ b/tests/run-make/export/disambiguator/app.rs
@@ -0,0 +1,7 @@
+extern crate libr;
+
+use libr::*;
+
+fn main() {
+    assert_eq!(S::<S2>::foo(), 2);
+}