Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-defer4.C
blob: 60ca88d4542ae411c7d4ae8610223f5c02c0237d [
file
] [
log
] [
blame
]
// { dg-do run { target c++11 } }
struct
A
{
int
i
=
42
;
int
j
=
f
();
int
k
=
this
->
f
();
int
f
()
{
return
i
++;
}
};
A a
;
int
main
()
{
if
(
a
.
j
!=
42
||
a
.
k
!=
43
||
a
.
i
!=
44
)
__builtin_abort
();
}