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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20091002-2_0.C] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-lto-do link }
2
// { dg-require-effective-target fpic }
3
// { dg-lto-options {{-fPIC}} }
4
// { dg-extra-ld-options "-fPIC -r -nostdlib" }
5
 
6
class DataArray {
7
    int max() const    { }
8
};
9
template < class HashItem >
10
class DataHashTable {
11
    template < class ElemHashItem >
12
        class Element    { };
13
    typedef Element< HashItem > Elem;
14
    DataArray m_elem;
15
};
16
class Name    { };
17
class NameSet {
18
    DataHashTable < Name > hashtab;
19
};
20
NameSet p;
21
 

powered by: WebSVN 2.1.0

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