Debian Codegraph @

gcc/testsuite/g++.dg/other/vararg-4.C

raw
1 // PR c++/37404
2
3 typedef __builtin_va_list __gnuc_va_list;
4 typedef __gnuc_va_list va_list;
5
6 template <class> struct S { static void foo () { } };
7 template <class T, int N>
8 struct S<T [N]> { static void foo () { T(); } };
9
10 int main () {
11 S<va_list>::foo();
12 }