summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-2723-b.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-2723-b.rs')
-rw-r--r--tests/ui/issues/issue-2723-b.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-2723-b.rs b/tests/ui/issues/issue-2723-b.rs
new file mode 100644
index 000000000..1910561d0
--- /dev/null
+++ b/tests/ui/issues/issue-2723-b.rs
@@ -0,0 +1,11 @@
+// run-pass
+// aux-build:issue-2723-a.rs
+
+extern crate issue_2723_a;
+use issue_2723_a::f;
+
+pub fn main() {
+ unsafe {
+ f(vec![2]);
+ }
+}