blob: c051c086488f0b53b3077b22116c6576db7aab7f [file] [log] [blame]
// { dg-do compile { target c++17 } }
struct derived;
struct base { };
struct derived : base {
int i;
};
derived d1{1}; // { dg-error "base" }
derived d2{{},1}; // OK