* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-ellipsis2.C
blobb6a5323b0f906dced9c74e7974f137c2b1ae712b
1 // { dg-do compile { target c++11 } }
3 struct A
5   A();
6   A(const A&);
7   bool empty();
8 };
10 constexpr int ellipsis(...) { return 1; }
12 static_assert(ellipsis(A().empty()), "Error"); // { dg-error "non-constant condition|empty" }