blob: a24e205d71c814768b2542676b0b9247b336c89c [file] [log] [blame]
// PR c++/70824
// { dg-do compile { target c++11 } }
#include <initializer_list>
constexpr
int
max(std::initializer_list<int> __l)
{ return *__l.begin(); }
template <class Src>
void
a() {
const int v = max({1});
}