repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
objc.dg
/
sync-1.m
blob
d7035c715b50293f1f9b807acc09588dc2b35640
1
/* Make sure that @synchronized parses. */
2
/* { dg-options "-fnext-runtime -fobjc-exceptions" } */
3
/* { dg-do compile } */
4
5
#include <objc/Object.h>
6
7
void foo(id sem)
8
{
9
@synchronized (sem) {
10
return;
11
}
12
}