Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / obj-c++.dg / try-catch-6.mm
blobe0022b299030d04cfa91544005f219223a980942
1 /* A very simple @try-@catch example. */
3 /* { dg-do compile } */
4 /* { dg-options "-fobjc-exceptions" } */
6 int foo(void) {
7   @try {
8     return 2;
9   }
10   @catch (id foo) {
11     return 1;
12   }
13   return 0;