2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / other / vararg-4.C
blobe242cfceffb9645c48c1de04327536a0cad8d7ad
1 // PR c++/37404
3 typedef __builtin_va_list __gnuc_va_list;
4 typedef __gnuc_va_list va_list;
6 template <class> struct S { static void foo () { } };
7 template <class T, int N>
8 struct S<T [N]> { static void foo () { T(); } };
10 int main () {
11   S<va_list>::foo();