1 // RUN: %clang_cc1 %s -std=c++1z -fsyntax-only -verify -Winitializer-overrides 2 3 struct B { 4 int x; 5 }; 6 7 struct D : B { 8 int y; 9 }; 10 test()11 void test() { D d = {1, .y = 2}; } // expected-warning {{C99 extension}} expected-note {{}} 12