Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-local.C
blob: 2330365f7ce12a781ac860941c64af09d009c802 [
file
] [
log
] [
blame
]
// PR c++/55240
// { dg-do compile { target c++11 } }
int
main
()
{
int
q
=
1
;
// { dg-message "declared here" }
struct
test
{
int
x
=
q
;
}
instance
;
// { dg-error "local variable" }
}