blob: 7f86f5ff629ae5b9fed93d7a3a390cc28601b4ca [file] [log] [blame]
// { dg-do compile { target c++11 } }
namespace {
struct S {
int n;
} T;
using T = decltype(S :: n); // { dg-error "redeclared" }
namespace {
extern int x;
extern int x;
}
}