summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.oliva/ns1.C
blob: cda0f0e2ec885333fec3e87e00a4613d88b6481b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }

// Copyright (C) 1999, 2000 Free Software Foundation

// by Alexandre Oliva <oliva@dcc.unicamp.br>
// based on bug report by Dima Volodin <dvv@dvv.ru>

void foo();
namespace bar {
  class baz {
    friend void ::foo(); // { dg-bogus "" } parse error
  };
}