diff --git a/src/test/compile-fail/expanded-cfg.rs b/src/test/compile-fail/expanded-cfg.rs index a15e0548a86..77351f6e4f1 100644 --- a/src/test/compile-fail/expanded-cfg.rs +++ b/src/test/compile-fail/expanded-cfg.rs @@ -20,6 +20,9 @@ macro_rules! mac { #[cfg_attr(target_thread_local, custom)] fn g() {} } + + #[cfg(attr)] + unconfigured_invocation!(); } }