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