summaryrefslogtreecommitdiffstats
path: root/src/test/ui/extern/extern-macro.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/extern/extern-macro.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/extern/extern-macro.rs b/src/test/ui/extern/extern-macro.rs
new file mode 100644
index 000000000..ab974e628
--- /dev/null
+++ b/src/test/ui/extern/extern-macro.rs
@@ -0,0 +1,6 @@
+// #41719
+
+fn main() {
+ enum Foo {}
+ let _ = Foo::bar!(); //~ ERROR failed to resolve: partially resolved path in a macro
+}