aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/tm/pr46714.C
blob: 130b58cdd992be4ac551d4d60aaca876fe87eeb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do compile }
// { dg-options "-fgnu-tm -O" }

static int asdf __attribute__ ((__weakref__("funky")));

class Building
{
public:
  __attribute__((transaction_safe)) ~Building(void);
};

Building::~Building()
{
}