2 // { dg-options "-fgnu-tm" }
4 static inline void atomic_exchange_and_add()
9 template<class T> class shared_ptr
14 atomic_exchange_and_add();
18 class BuildingCompletedEvent
21 __attribute__((transaction_callable)) void updateBuildingSite(void);
22 __attribute__((transaction_pure)) BuildingCompletedEvent();
25 void BuildingCompletedEvent::updateBuildingSite(void)
27 shared_ptr<BuildingCompletedEvent> event(new BuildingCompletedEvent());