OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [hidden-class11.C] - Blame information for rev 698

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// Copyright (C) 2007 Free Software Foundation
2
// Contributed by Ollie Wild 
3
// { dg-do compile }
4
 
5
// Verify that a friend class is hidden even if it is hidden by a non-builtin
6
// function name.
7
 
8
namespace M {
9
  void F (void);
10
  class F;
11
}
12
 
13
namespace N {
14
  void F(void);
15
  class A {
16
    friend class F;
17
  };
18
}
19
 
20
using namespace M;
21
using namespace N;
22
 
23
class F *b;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.