Commit 7e252d9b by Paolo Carlini Committed by Paolo Carlini

re PR c++/71820 (ICE on valid C++ code: in arg_assoc_type, at cp/name-lookup.c:5583)

2017-10-25  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/71820
	* g++.dg/ext/typeof12.C: New.

From-SVN: r254072
parent 7e65575a
2017-10-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/71820
* g++.dg/ext/typeof12.C: New.
2017-10-25 Tom de Vries <tom@codesourcery.com>
* gcc.dg/tree-ssa/loop-1.c: Add xfail for nvptx in scan-assembler-times
......
// PR c++/71820
void f (void (*) (int, int)) {}
template < typename T > void g (T x, __typeof__ x) {} // { dg-message "sorry, unimplemented: mangling" }
int main ()
{
f (g < int >);
return 0;
}
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