blob: fe1f65c78eb96020089de8ce968052997bf3720e (
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-obj-c++-shared/Object1.h"
void foo(id sem)
{
@synchronized (sem) {
return;
}
}
|