rust/src/test/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-04 22:00:03 -06:00
// aux-build:issue-16725.rs
extern crate issue_16725 as foo;
fn main() {
unsafe { foo::bar(); }
//~^ ERROR: function `bar` is private
}