OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20080117-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
typedef struct gs_imager_state_s {
2
  struct {
3
    int half_width;
4
    int cap;
5
    float miter_limit;
6
  } line_params;
7
} gs_imager_state;
8
static const gs_imager_state gstate_initial = { { 1 } };
9
void gstate_path_memory(gs_imager_state *pgs) {
10
  *pgs = gstate_initial;
11
}
12
int gs_state_update_overprint(void)
13
{
14
  return gstate_initial.line_params.half_width;
15
}
16
 
17
extern void abort (void);
18
int main()
19
{
20
  if (gs_state_update_overprint() != 1)
21
    abort ();
22
  return 0;
23
}
24
 

powered by: WebSVN 2.1.0

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