repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
2018-01-24 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
objc.dg
/
sync-1.m
blob
e0f439359730ee63bde356f95a349f855ad10254
1
/* Make sure that @synchronized parses. */
2
/* { dg-options "-fobjc-exceptions" } */
3
/* { dg-do compile } */
4
5
#include <objc/objc.h>
6
7
void foo(id sem)
8
{
9
@synchronized (sem) {
10
return;
11
}
12
}