summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash64.C
blob: 3c98692833176240e9e7ba39455465474a3df845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// { dg-do assemble  }
// GROUPS passed old-abort
typedef __SIZE_TYPE__ size_t;
typedef void (*RF_Ptr)(void *);

struct _im_pers_mem_spec {
  _im_pers_mem_spec(void );
  _im_pers_mem_spec(auto int of, auto int n);
};

struct _type_desc {
  _type_desc(const char *, int , RF_Ptr , int , int ,...);
};

struct metatype { int base_list; };

static _type_desc _type_metatype("metatype", sizeof(metatype),
  (RF_Ptr)0, 0, 1, 1,
  _im_pers_mem_spec( ((size_t)&((( metatype *)0)-> base_list )) , 1));