re PR c++/28991 (Static constructor emitted instead of initialized variable)
PR c++/28991 * cp-objcp-common.c (cxx_staticp): New function. * cp-objcp-common.h (LANG_HOOOKS_STATICP): Use it. * cp-tree.h (cxx_staticp): New function. PR c++/289991 * g++.dg/init/static3.C: New test. From-SVN: r116838
Showing
gcc/testsuite/g++.dg/init/static3.C
0 → 100644
Please
register
or
sign in
to comment