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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr37343.C] - Blame information for rev 308

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

Line No. Rev Author Line
1 301 jeremybenn
/* { dg-do compile } */
2
typedef enum RW { rwBitmapGrey, rwBitmapGrey16 } RW;
3
void FindDepth(RW);
4
void ParseDumpBitmap(RW kind, int maxfiles)
5
{
6
    static const RW normalTypes[] = { };
7
    const RW *bitmapTypes;
8
    int i;
9
    switch (kind) {
10
        case rwBitmapGrey:
11
        case rwBitmapGrey16:
12
            bitmapTypes = &kind;
13
            break;
14
        default:
15
            bitmapTypes = normalTypes;
16
    }
17
    for (i = 0; i < maxfiles; i++)
18
        FindDepth(bitmapTypes[i]);
19
}

powered by: WebSVN 2.1.0

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