blob: 3c3a73c28d59ea34eb9fcadbb8ba81aac97e580c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
namespace Y
{
extern int I; // { dg-message "previous declaration" }
}
using Y::I;
extern int I; // { dg-error "conflicts with a previous" }
extern int J;
extern int J; // { dg-message "previous declaration" }
extern char J; // { dg-error "conflicting declaration" }
|