1 // RUN: %clang_cc1 -verify %s -pedantic-errors -std=c++11
2 // RUN: %clang_cc1 -verify %s -pedantic-errors -std=c++14
3 // expected-no-diagnostics
12 __attribute__((__require_constant_initialization__
))
13 static const foo_t x
= {{0}};
20 __attribute__((__require_constant_initialization__
))
21 static const foo_u y
= {0};