summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ns/ns9.C
blob: 9b181e4fd35f3ca2058a1519e0d0051d80ce6636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
namespace bb
{
  int f(int);

  namespace k
  {
    void foo(int bar)
    {
      return bb:f(bar); //{ dg-error "" } syntax error
    }
  }
}