OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
In gcc/objc/:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
objc.dg
/
sync-1.m
1
/* Make sure that @synchronized parses. */
2
/* { dg-options "-fobjc-exceptions" } */
3
/* { dg-do compile } */
4
5
#include "../objc-obj-c++-shared/Object1.h"
6
7
void foo(id sem)
8
{
9
@synchronized (sem) {
10
return;
11
}
12
}