Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/opt/static1.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
// PR c++/6073 // This testcase ICEd because finish_struct_bits changed // A's and const A's TYPE_MODE from QI to BLK, but did // not change a's DECL_MODE because its mode was not // TYPE_MAIN_VARIANT. struct A { static const A a; ~A (); }; void bar (A x); void foo (); void foo () { bar (A::a); }