OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [objc.dg/] [sync-1.m] - Blame information for rev 455

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.