// This test checks if `clippy::large_stack_frames` is working correctly when encountering functions
// generated by special compiling targets like `--test`.
//@compile-flags: --test
//@check-pass

#![warn(clippy::large_stack_frames)]

#[cfg(test)]
#[expect(clippy::large_stack_frames)]
mod test {
    #[test]
    fn main_test() {}
}
