Home
last modified time | relevance | path

Searched refs:WrongSize (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang/test/SemaCXX/
Dcxx2a-constexpr-dynalloc.cpp44 struct WrongSize { char x[5]; }; argument
45 static_assert(sizeof(WrongSize) == 5);
46 template<> struct std::allocator<WrongSize> {
49 constexpr void *wrong_size = std::allocator<WrongSize>().allocate(); // expected-error {{constant e…