reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git] / gcc / testsuite / objc.dg / sync-1.m
blobe0f439359730ee63bde356f95a349f855ad10254
1 /* Make sure that @synchronized parses.  */
2 /* { dg-options "-fobjc-exceptions" } */
3 /* { dg-do compile } */
5 #include <objc/objc.h>
7 void foo(id sem)
9   @synchronized (sem) { 
10     return;
11   }