Index: tests/except-3.c
===================================================================
--- tests/except-3.c	(revision 90152a4860529aff7214be01cd22abd37012cd19)
+++ tests/except-3.c	(revision 90152a4860529aff7214be01cd22abd37012cd19)
@@ -0,0 +1,18 @@
+// 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");
+	}
+}
