* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / using55.C
blob61098b186fb37907a7b29094c81f57007c0841b7
1 // PR c++/65721
3 template<typename T>
4 struct A {
5   typedef T D;
6 };
8 template<typename X>
9 class B : public A<X> {
10   using typename B::D;          // { dg-error "not a base" }
11 public:
12   D echo(D x) {                 // { dg-error "D" }
13     return x;
14   }
17 int main() {
18   B<int> b;