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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [gnu-encoding/] [struct-layout-1_test.h] - Blame information for rev 774

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

Line No. Rev Author Line
1 704 jeremybenn
#include "struct-layout-1.h"
2
 
3
#define TX(n, type, attrs, fields, ops)                         \
4
type S##n { fields } attrs;                                     \
5
void test##n (void)                                             \
6
{                                                               \
7
  if (objc_sizeof_type (@encoding (type S##n)) != sizeof(type S##n)) \
8
    fails ++;                                                   \
9
}

powered by: WebSVN 2.1.0

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