summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/linkage1.C
blob: 6f6bdfdea8a99c0bdc75ae8494fc0e5937292467 (plain)
1
2
3
4
// DR 563

extern int i; // { dg-error "linkage" }
extern "C" int i; // { dg-error "linkage" }