view gcc/testsuite/g++.dg/init/aggr3.C @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 04ced10e8804
children
line wrap: on
line source

// PR c++/18793

struct S { 
  S(); 
  S(const S&); 
  void operator=(const S&); 
}; 
 
struct X { 
  int a, b, c, d, e; 
  S s; 
}; 
 
void foobar () { 
  X x = {0}; 
}