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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [hidden-class8.C] - Diff between revs 149 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
// Copyright (C) 2005 Free Software Foundation
// Copyright (C) 2005 Free Software Foundation
// Contributed by Kriang Lerdsuwanakij 
// Contributed by Kriang Lerdsuwanakij 
// { dg-do compile }
// { dg-do compile }
namespace N {
namespace N {
  class A {
  class A {
    friend class B;
    friend class B;
  };
  };
}
}
class N::B {    // { dg-error "not name a class" }
class N::B {    // { dg-error "not name a class" }
};
};
 
 

powered by: WebSVN 2.1.0

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