2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / g++.dg / init / ref17.C
blob2c8c22b8d884465776d73100ad13afe4191d676e
1 // PR c++/35650
2 // { dg-do compile }
4 void f1 ();
6 namespace N
8   using::f1;
9   void f2 ();
10   void f3 ();
13 using N::f3;
15 void
16 test ()
18   void (&a) () = f1;
19   void (&b) () = N::f1;
20   void (&c) () = N::f2;
21   void (&d) () = f3;
22   void (&e) () = ::f3;