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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pch/] [struct-1.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
#include "struct-1.h"
2
 
3
struct ChainSearchRecord {
4
 int identity;
5
};
6
typedef struct ChainSearchRecord ChainSearchRecord;
7
void foo (ChainSearchPtr s)
8
{
9
#if(__SIZEOF_INT__ >= 4)        
10
  s->identity = 0x6a73616d;
11
#else
12
   s->identity = 0x616d;
13
#endif
14
}
15
 
16
 

powered by: WebSVN 2.1.0

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