about summary refs log tree commit diff
path: root/src/test/ui/proc-macro/resolved-located-at.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/proc-macro/resolved-located-at.rs')
-rw-r--r--src/test/ui/proc-macro/resolved-located-at.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/proc-macro/resolved-located-at.rs b/src/test/ui/proc-macro/resolved-located-at.rs
new file mode 100644
index 00000000000..9976284e222
--- /dev/null
+++ b/src/test/ui/proc-macro/resolved-located-at.rs
@@ -0,0 +1,12 @@
+// aux-build:resolved-located-at.rs
+
+#![feature(proc_macro_hygiene)]
+
+#[macro_use]
+extern crate resolved_located_at;
+
+fn main() {
+    resolve_located_at!(a b)
+    //~^ ERROR expected error
+    //~| ERROR mismatched types
+}