Debian Codegraph @

gcc/testsuite/obj-c++.dg/try-catch-14.mm

raw
1 /* { dg-options "-fobjc-exceptions" } */
2 /* { dg-do compile } */
3
4 typedef unsigned char uint8_t;
5 typedef uint8_t foo[24];
6
7 void thingy(foo a)
8 {
9 }
10
11 int main()
12 {
13 foo bar;
14
15 @try {
16 }
17 @finally {
18 }
19
20 thingy(bar);
21
22 return 0;
23 }
24