* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / using19.C
blob973998bc02195d40b8a2adc0caa28a1fe35a85f5
1 // Copyright (C) 2007 Free Software Foundation
2 // Contributed by Ollie Wild <aaw@google.com>
3 // { dg-do compile }
6 // C++ Standard, 7.3.3, clause 10:
7 // "Since a using-declaration is a declaration, the restrictions on
8 // declarations of the same name in the same declarative region (3.3) also
9 // apply to using-declarations."
11 namespace M
13   union A;
14   void B();
17 void A();
18 union B;
20 using M::A;
21 using M::B;