URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [tm/] [asm-1.c] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile } // { dg-options "-fgnu-tm -O1" } template<class T> class shared_ptr { public: shared_ptr() { __asm__ (""); } }; template<typename _Tp> class deque { public: void push_back() { ::new _Tp(); } }; class Bar { __attribute__((transaction_callable)) void push(); deque<shared_ptr<int> > events; }; void Bar::push() { events.push_back(); }
Go to most recent revision | Compare with Previous | Blame | View Log