aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/obj-c++.dg/try-catch-14.mm
blob: 1d922b509ccd8011facb3b89b5a74d432459a42c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* { dg-options "-fobjc-exceptions" } */
/* { dg-do compile } */

typedef unsigned char uint8_t;
typedef uint8_t foo[24];

void thingy(foo a)
{
}

int main()
{
    foo bar;

    @try {
    } 
    @finally {
    }

    thingy(bar);

    return 0;
}