summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-16725.rs
blob: 2cf8a60697dd6627d385a9f90d286fc9a50789ae (plain)
1
2
3
4
5
6
7
8
// aux-build:issue-16725.rs

extern crate issue_16725 as foo;

fn main() {
    unsafe { foo::bar(); }
    //~^ ERROR: function `bar` is private
}