summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/issue-107113-wrap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/proc-macro/issue-107113-wrap.rs')
-rw-r--r--tests/ui/proc-macro/issue-107113-wrap.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/issue-107113-wrap.rs b/tests/ui/proc-macro/issue-107113-wrap.rs
new file mode 100644
index 000000000..bc5b44963
--- /dev/null
+++ b/tests/ui/proc-macro/issue-107113-wrap.rs
@@ -0,0 +1,8 @@
+// edition:2021
+// aux-build:issue-107113.rs
+
+#[macro_use]
+extern crate issue_107113;
+
+#[issue_107113::main] //~ ERROR mismatched types [E0308]
+async fn main() -> std::io::Result<()> {}