blob: e0f439359730ee63bde356f95a349f855ad10254 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* Make sure that @synchronized parses. */
/* { dg-options "-fobjc-exceptions" } */
/* { dg-do compile } */
#include <objc/objc.h>
void foo(id sem)
{
@synchronized (sem) {
return;
}
}
|