]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/variadic-unify-2.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-unify-2.C
CommitLineData
c8f4e43a
DS
1// Contributed by Dodji Seketeli <dodji@redhat.com>
2// Origin: PR c++/40155
4b2e63de 3// { dg-do compile { target c++11 } }
c8f4e43a
DS
4
5template <typename T> struct identity
6{ typedef T type; };
7
8template <typename RT, typename... A>
9int forward_call(RT (*) (A...), typename identity<A>::type...);
10
11int g (double);
12
13int i = forward_call(&g, 0);
This page took 7.089181 seconds and 5 git commands to generate.