blob: 2c88fe689ea3bb93cbf2bdd7143ba5cdb2787594 [file] [log] [blame]
// PR c++/46930
// { dg-do compile { target c++11 } }
struct S {
static constexpr int size; // { dg-error "must have an initializer" "must have" }
};
const int limit = 2 * S::size;
constexpr int S::size = 256;