summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-12660.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/issues/issue-12660.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-12660.rs b/src/test/ui/issues/issue-12660.rs
new file mode 100644
index 000000000..44c492b43
--- /dev/null
+++ b/src/test/ui/issues/issue-12660.rs
@@ -0,0 +1,14 @@
+// run-pass
+// aux-build:issue-12660-aux.rs
+
+// pretty-expanded FIXME #23616
+
+extern crate issue12660aux;
+
+use issue12660aux::{my_fn, MyStruct};
+
+#[allow(path_statements)]
+fn main() {
+ my_fn(MyStruct);
+ MyStruct;
+}