testsuite: Add dg-require-effective-target scheduling for some tests that set -fsched...
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / using57.C
blob48ee2df9bc94f888364be89cb73fc372f41560c1
1 // Addr of function from multiple namespaces
3 namespace X
5   void Foo (int);
6   void Foo (short);
9 namespace Y
11   void Foo (float);
12   void Foo (double);
15 template <typename T> void Foo (T *);
17 using namespace X;
19 using namespace Y;
21 void (*(Baz ())) (float)
23   return Foo;
26 void (*(Bar ())) (void *)
28   return Foo;