2 // { dg-do compile { target c++14 } }
12 c = reinterpret_cast<int *>((reinterpret_cast<char *>(c) + *c));
13 *c = reinterpret_cast<char *>(this) - reinterpret_cast<char *>(c); // { dg-error "reinterpret_cast" "" { target c++20_down } }
16 struct C : A { // { dg-error "" "" { target c++14_down } }
20 // error path changes in C++17 due to `C` becoming an aggregate
21 constexpr C foo {}; // { dg-error "" "" { target c++17 } }