blob: b6a5323b0f906dced9c74e7974f137c2b1ae712b [file] [log] [blame]
// { dg-do compile { target c++11 } }
struct A
{
A();
A(const A&);
bool empty();
};
constexpr int ellipsis(...) { return 1; }
static_assert(ellipsis(A().empty()), "Error"); // { dg-error "non-constant condition|empty" }