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++.brendan/] [crash44.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do assemble  }
2
// GROUPS passed old-abort
3
template  class bug {
4
 
5
public:
6
    void                Foo(const int = 0);
7
    void                NotRedeclared(const int);
8
 
9
private:
10
        T               TheItem;
11
};
12
 
13
template  void bug::NotRedeclared(const int)
14
{
15
}
16
 
17
template  void bug::Foo(const int)
18
{
19
}
20
 
21
int
22
main()
23
{
24
        bug     InstantiatedBug;
25
 
26
        return 0;
27
}

powered by: WebSVN 2.1.0

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