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

// Copyright (C) 1999 Free Software Foundation

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

void foo();
namespace bar {
  using ::foo;
  class baz {
    friend void foo(); // { dg-bogus "" "" { xfail *-*-* } }  - conflict - 
  };
}