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. 4 5 // { dg-do compile } 6 7 namespace NS 8 { 9 void foo(bool arg1); 10 } 11 12 namespace M { 13 namespace K { 14 bool Bc(bool x); 15 } 16 bar()17 void bar() { 18 NS::foo (K::Bc(true)); // GCC could not find K or Bc. 19 } 20 } 21