1 // PR c++/54325 2 // { dg-do compile { target c++11 } } 3 4 class base 5 { 6 protected: base()7 base() 8 {} 9 }; 10 11 class derived : public base 12 { 13 public: derived()14 derived() 15 : base{} // <-- Note the c++11 curly brace syntax 16 {} 17 }; 18 main()19int main() 20 { 21 derived d1; 22 return 0; 23 } 24