rust/tests/ui/issues/issue-16725.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
146 B
Rust
Raw Normal View History

2018-11-05 04:00:03 +00:00
// aux-build:issue-16725.rs
extern crate issue_16725 as foo;
fn main() {
unsafe { foo::bar(); }
//~^ ERROR: function `bar` is private
}