blob: 28841bb15ad631d86d4016a6b8505e06e9eee0b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// { dg-do compile }
// { dg-options "-fgnu-tm" }
class list
{
public: list()
{
}
list(const list&)
{
}
const list& _M_get_Node_allocator() const
{
}
list _M_get_Tp_allocator() const
{
return list(_M_get_Node_allocator());
}
};
static list buildProjects;
static void build()
{
__transaction_relaxed
{
buildProjects._M_get_Tp_allocator();
}
}
|