Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/cpp0x/nsdmi-defer4.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// { 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(); }