summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/resolved-located-at.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/proc-macro/resolved-located-at.rs10
1 files changed, 10 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 000000000..b785573f2
--- /dev/null
+++ b/src/test/ui/proc-macro/resolved-located-at.rs
@@ -0,0 +1,10 @@
+// aux-build:resolved-located-at.rs
+
+#[macro_use]
+extern crate resolved_located_at;
+
+fn main() {
+ resolve_located_at!(a b)
+ //~^ ERROR expected error
+ //~| ERROR mismatched types
+}