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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [access10.C] - Diff between revs 154 and 816

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

Rev 154 Rev 816
// { dg-do compile }
// { dg-do compile }
// Origin: Giovanni Bajo 
// Origin: Giovanni Bajo 
// PR c++/10849: Incorrect access checking on template specialization.
// PR c++/10849: Incorrect access checking on template specialization.
class X {
class X {
  private:
  private:
    template  struct Y;
    template  struct Y;
};
};
template <> struct X::Y {};
template <> struct X::Y {};
template  struct X::Y {};
template  struct X::Y {};
template struct X::Y;
template struct X::Y;
 
 

powered by: WebSVN 2.1.0

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