summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ns/bogus1.C
blob: 4b927a3d62510219ec62a326fccc2a732870990c (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }

namespace N {}

void f(int N::k); // { dg-error "" } 

class Foo
{
  int N::j; // { dg-error "" } invalid use of `::'
};