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