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