1 // RUN: %clang_cc1 -fsyntax-only -verify %s
13 // Test that successive base specifiers don't screw with each other.
19 struct B
{ B(Opaque1
); };
26 // Apparently the base-or-member lookup is actually ambiguous
27 // without this qualification.
28 C() : A(), test1::B(Opaque2()) {}
32 // Test that we don't find the injected class name when parsing base
35 template <class T
> struct bar
{};
36 template <class T
> struct foo
: bar
<foo
> {}; // expected-error {{use of class template 'foo' requires template arguments}} expected-note {{template is declared here}}