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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [spec37.C] - Diff between revs 305 and 338

Only display areas with differences | Details | Blame | View Log

Rev 305 Rev 338
// { dg-do assemble  }
// { dg-do assemble  }
//
//
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 21 Jan 2001 
// Contributed by Nathan Sidwell 21 Jan 2001 
// Bug 1728. We started sorting things when there were 7 fields. Our
// Bug 1728. We started sorting things when there were 7 fields. Our
// template_count algorithm was rather fragile ...
// template_count algorithm was rather fragile ...
template  struct X
template  struct X
{
{
  struct Y
  struct Y
  {
  {
    int x1;
    int x1;
    int x2;
    int x2;
    int x3;
    int x3;
    int x4;
    int x4;
    int x5;
    int x5;
    int x6;
    int x6;
    int x7;
    int x7;
    void Foo ();
    void Foo ();
  };
  };
};
};
template <> void X<1>::Y::Foo () {}
template <> void X<1>::Y::Foo () {}
 
 

powered by: WebSVN 2.1.0

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