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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [tm/] [pr47573.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
// { dg-options "-fgnu-tm" }
3
 
4
template class allocator
5
{
6
        public:
7
        allocator() { }
8
};
9
extern template class allocator;
10
 
11
template > class basic_string
12
{
13
        public:
14
        _Alloc _M_dataplus;
15
 
16
        __attribute__((transaction_safe))
17
        basic_string() : _M_dataplus(_Alloc())
18
        {
19
        }
20
};
21
 
22
int getStringHeight()
23
{
24
        basic_string<> tmp;
25
}

powered by: WebSVN 2.1.0

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