summaryrefslogtreecommitdiffstats
path: root/tests/ui/test-attrs/issue-36768.rs
blob: f671cbc82050589513b719b84bf213f706254185 (plain)
1
2
3
4
5
6
7
8
9
// run-pass
// compile-flags:--test
#![deny(private_in_public)]

#[test] fn foo() {}
mod foo {}

#[test] fn core() {}
extern crate core;