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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pragma-darwin-2.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Darwin (Mac OS X) pragma exercises.  */
2
 
3
/* { dg-do compile { target *-*-darwin* } } */
4
 
5
/* The mark pragma is valid at any point in the program.  Fortunately
6
   the compiler only needs to ignore it.  It's also followed only
7
   by pp-tokens, not necessarily real C tokens.  */
8
 
9
void foo(void)
10
{
11
  if (1) {
12
    ;
13
  }
14
  else if (1) {
15
    ;
16
  }
17
#pragma mark "last case" "hi"
18
  else if (1) {
19
    ;
20
  }
21
}
22
 
23
#pragma mark 802.11x 1_2_3
24
#pragma mark •••• marker ••••

powered by: WebSVN 2.1.0

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