1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
3 // Note: [class.inhctor] was removed by P0136R1. This tests the new behavior
4 // for the wording that used to be there.
7 B1(int); // expected-note {{candidate}}
10 B2(int); // expected-note {{candidate}}
13 using B1::B1
; // expected-note {{inherited here}}
14 using B2::B2
; // expected-note {{inherited here}}
21 D1
d1(0); // expected-error {{ambiguous}}
24 template<typename T
> struct B3
{
27 template<typename T
> struct B4
: B3
<T
>, B1
{
36 template<typename T
> B5(T
);
40 template<typename T
> D6(T
);
45 template<typename T
> D7(T
, ...);
47 // DRxxx (no number yet): derived class ctor beats base class ctor.