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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr33655.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
typedef struct {
3
    unsigned long attr;
4
    int chars[2];
5
} cchar_t;
6
typedef struct _win_st {
7
    cchar_t _bkgrnd;
8
} WINDOW;
9
void render_char(WINDOW *win, cchar_t ch)
10
{
11
    if ((ch).chars[0] == L' '
12
        && (ch).chars[1] == L'\0')
13
        win->_bkgrnd = ch;
14
}

powered by: WebSVN 2.1.0

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