summaryrefslogtreecommitdiffstats
path: root/src/test/ui/linkage-attr/link-attr-validation-early.rs
blob: b9a835fb5e92148ea5fed701b09cfa3196a712bd (plain)
1
2
3
4
5
6
7
8
// Top-level ill-formed
#[link] //~ ERROR attribute must be of the form
        //~| WARN this was previously accepted
#[link = "foo"] //~ ERROR attribute must be of the form
                //~| WARN this was previously accepted
extern "C" {}

fn main() {}