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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pragma-ms_struct.c] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 jeremybenn
/* Darwin pragma for __attribute__ ((ms_struct)).  */
2
 
3
/* { dg-do compile { target *-*-darwin* } } */
4
/* { dg-options "-Wall" } */
5
 
6
#pragma ms_struct on
7
 
8
#pragma ms_struct off
9
 
10
#pragma ms_struct reset
11
 
12
#pragma ms_struct /* { dg-warning "malformed" } */
13
 
14
#pragma ms_struct on top of spaghetti /* { dg-warning "junk" } */
15
 
16
struct foo
17
{
18
  int a;
19
  int b;
20
  char c;
21
};

powered by: WebSVN 2.1.0

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