Commit 5beb1657 by Paolo Carlini Committed by Paolo Carlini

re PR c++/37404 (ICE on va_arg and template deduction)

2013-06-09  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/37404
	* g++.dg/other/vararg-4.C: New.

From-SVN: r199869
parent 74fe2a1d
2013-06-09 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/37404
* g++.dg/other/vararg-4.C: New.
2013-06-08 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/57559
......
// 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();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment