aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gm2/iso/run/pass/t1.cpp
blob: f8c2deb4e72f02120852ca56d60b8ca74821ded7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern "C" void *malloc (int);
extern "C" void _M2_except5_init (void);
extern "C" int printf (const char *, ...);
extern "C" void Storage_ALLOCATE (void **p, unsigned int s);

void Storage_ALLOCATE (void **p, unsigned int s)
{
   (*p) = malloc (s);
}

main()
{
   _M2_except5_init ();
}