repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
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
blob
a9d70d06e3be5e48f07fc7761e81dc3a878ddb92
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
17
void bar() {
18
NS::foo (K::Bc(true)); // GCC could not find K or Bc.
19
}
20
}