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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [spec37.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
//
3
// Copyright (C) 2000 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 21 Jan 2001 
5
 
6
// Bug 1728. We started sorting things when there were 7 fields. Our
7
// template_count algorithm was rather fragile ...
8
 
9
template  struct X
10
{
11
  struct Y
12
  {
13
    int x1;
14
    int x2;
15
    int x3;
16
    int x4;
17
    int x5;
18
    int x6;
19
    int x7;
20
 
21
    void Foo ();
22
  };
23
};
24
 
25
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.