//! Regression test to check that outer attributes applied to the first module item is applied to //! its attached module item only, and not also to other subsequent module items //! //! Commit: //@ check-pass //@ compile-flags: --cfg=first //@ no-auto-check-cfg #[cfg(first)] mod hello {} #[cfg(not_set)] mod hello {} fn main() {}