2017-10-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/71820
* g++.dg/ext/typeof12.C: New.
From-SVN: r254072
+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
--- /dev/null
+// 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;
+}