rust/tests/ui/test-attrs/issue-36768.rs
2024-02-16 20:02:50 +00:00

10 lines
140 B
Rust

//@ run-pass
//@ compile-flags:--test
#![deny(private_interfaces)]
#[test] fn foo() {}
mod foo {}
#[test] fn core() {}
extern crate core;