blob: e242cfceffb9645c48c1de04327536a0cad8d7ad [file] [log] [blame]
// PR c++/37404
typedef __builtin_va_list __gnuc_va_list;
typedef __gnuc_va_list va_list;
template <class> struct S { static void foo () { } };
template <class T, int N>
struct S<T [N]> { static void foo () { T(); } };
int main () {
S<va_list>::foo();
}