// Test that __attribute__((cleanup(...))) is working.

#include <stdio.h>
#include "except-mac.h"
TRIVIAL_EXCEPTION(myth)

int main (int argc, char * argv[]) {
	try {
		try {
			printf("throw [");
			THROW(&(myth){});
		} finally {
			printf("] unwind <");
		}
	} catch (myth * error) {
		printf("> catch\n");
	}
}
