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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20080117-1.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 688 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.