rust/tests/ui/test-attrs/issue-36768.rs

10 lines
140 B
Rust

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