about summary refs log tree commit diff
path: root/tests/ui/hygiene/auxiliary/def-site-async-await.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/hygiene/auxiliary/def-site-async-await.rs')
-rw-r--r--tests/ui/hygiene/auxiliary/def-site-async-await.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/hygiene/auxiliary/def-site-async-await.rs b/tests/ui/hygiene/auxiliary/def-site-async-await.rs
new file mode 100644
index 00000000000..f7e9b801318
--- /dev/null
+++ b/tests/ui/hygiene/auxiliary/def-site-async-await.rs
@@ -0,0 +1,7 @@
+// edition:2018
+
+extern crate opaque_hygiene;
+
+pub async fn serve() {
+    opaque_hygiene::make_it!();
+}