Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
;
}
}