blob: 495c6e2b145f01024aac2d08947246cc251e1797 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<class... T>
constexpr bool variadics(T&&...) { return true; }
struct IsLiteral {};
constexpr bool variadic_var = variadics(0, true, 1.2, IsLiteral{}); // Error, so below
int main() {}