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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [attr-mode-1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR c/17384 */
2
/* { dg-do compile } */
3
/* { dg-options "" } */
4
 
5
typedef struct __attribute__((mode(SI))) {
6
    unsigned    INT0    :1,
7
                RES0    :1,
8
                        :6,
9
                INT1    :1,
10
                RES1    :1,
11
                        :6,
12
                        :16;
13
} MCR;  /* { dg-error "inappropriate type" } */

powered by: WebSVN 2.1.0

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