svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / scoped7.C
bloba9d70d06e3be5e48f07fc7761e81dc3a878ddb92
1 //PR c++/11507
2 // Origin: kai-gcc-bugs@khms.westfalen.de and bangerth@dealii.org
3 //The new parser used to fail on this.
5 // { dg-do compile }
7 namespace NS
9   void foo(bool arg1);
12 namespace M {
13   namespace K {
14     bool Bc(bool x);
15   }
17   void bar() {
18     NS::foo (K::Bc(true)); // GCC could not find K or Bc.
19   }