comparison gcc/testsuite/g++.dg/other/vararg-4.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
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 }