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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [warnings3.C] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do assemble  }
2
// { dg-options "-O2 -Wall" }
3
// GROUPS passed warnings
4
class A {
5
int i;
6
public:
7
        void funcA(void) {
8
                funcB();
9
        }
10
 
11
        // The compiler should not emit a warning about not being
12
        // able to inline this function.
13
        void funcB(void) {
14
                i++;
15
        }
16
};

powered by: WebSVN 2.1.0

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