Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr79652.C
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
;
}
}