2 /* { dg-options "" } */
3 /* Verify that cleanup works in the most basic of ways. */
5 extern "C" void exit(int);
6 extern "C" void abort(void);
8 static void handler(void *p __attribute__((unused)))
13 static void doit(void)
15 int x __attribute__((cleanup (handler)));