1 /* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, November 2010. */
2 /* { dg-options "-fobjc-exceptions" } */
3 /* { dg-do compile } */
4 /* { dg-additional-options "-Wno-objc-root-class" } */
6 /* This test checks the syntax @catch (...) which catches any
7 exceptions. At the moment, @catch (...) is identical to @catch (id
10 #include <objc/objc.h>
18 @implementation MyObject