aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/inh-ctor10.C
blob: 48e95a0b1b67d0f775c8f8be3edbc3314ab61b4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do compile { target c++11 } }
// { dg-options "-g" }

struct A
{
  template <class... Ts> A(Ts...);
};

struct B: A
{
  using A::A;
};

B b1(42);
B b2(1.0, 42, (void*)0);