2 // { dg-additional-options "-Wno-return-type" }
4 typedef __SIZE_TYPE__ size_t;
10 void *operator new(size_t size, const c1 & crc1);
14 public: c3() { _Obj = 0; }
15 ~c3() { if (_Obj) delete _Obj; }
20 void c3::set(c2 *pObj) { _Obj = pObj; };
22 template<class TYPE> class tc1 : public c2 {
23 public: tc1(int n=0){};
25 TYPE& operator[] (int id);
30 template<class TYPE> TYPE & tc1<TYPE>::operator[] (int id) {
34 template<class TYPE> int tc1<TYPE>::get() const {
42 class c5 : public c2 {
44 public: c5(c2 *o) : _own(o) { }
46 int add(const c4 & ext);
50 public: int get() const { return 0; };
55 int find(c6 * loop) const;
60 int tria(c7 * face, c5 * vtree0 = 0);
63 int c8::tria(c7 * face, c5 * vtree0) {
66 while (loops.get() > 1) {
68 for (int j=1; j<loops.get(); j++) {
69 if (loops[j]->get() < 32) {
79 vtree = new (_rc1) c5(box);
81 for (int j=0; j<1; j++) {