summaryrefslogtreecommitdiffstats
path: root/tests/ui/dyn-star/syntax.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/dyn-star/syntax.rs')
-rw-r--r--tests/ui/dyn-star/syntax.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/dyn-star/syntax.rs b/tests/ui/dyn-star/syntax.rs
new file mode 100644
index 000000000..618c72562
--- /dev/null
+++ b/tests/ui/dyn-star/syntax.rs
@@ -0,0 +1,11 @@
+// Make sure we can parse the `dyn* Trait` syntax
+//
+// check-pass
+
+#![feature(dyn_star)]
+#![allow(incomplete_features)]
+
+pub fn dyn_star_parameter(_: dyn* Send) {
+}
+
+fn main() {}