repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-defer4.C
blob
60ca88d4542ae411c7d4ae8610223f5c02c0237d
1
// { dg-do run { target c++11 } }
2
3
struct A
4
{
5
int i = 42;
6
int j = f();
7
int k = this->f();
8
int f() { return i++; }
9
};
10
11
A a;
12
13
int main()
14
{
15
if (a.j != 42 || a.k != 43 || a.i != 44)
16
__builtin_abort();
17
}