------- Comment #1 from bkoz at gcc dot gnu dot org  2008-04-01 04:05 -------

struct b
{
  bool t;

#if 1
  // need standard layout relaxation from POD
private:
  b& operator=(const b&);
  b(const b&);
#endif
};

int main()
{
  b tst1 = { false };
  const b tst2 = { true };
 return 0;
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35782

Reply via email to