Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc / support / regression / tcc / 108_constructor.c
blob145d0da6939e35401e5bfcd6632123c65e0faea9
1 extern int write (int fd, void *buf, int len);
3 static void __attribute__ ((constructor))
4 testc (void)
6 write (1, "constructor\n", 12);
9 static void __attribute__ ((destructor))
10 testd (void)
12 write (1, "destructor\n", 11);
15 int
16 main (void)
18 write (1, "main\n", 5);
19 return 0;