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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [prof-robust-1.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-options "-O2 -fno-weak" } */
2
 
3
#include 
4
 
5
namespace {
6
  namespace {
7
 
8
    class MyClass {
9
    public:
10
      void foo() const;
11
      ~MyClass() { foo(); }
12
    };
13
 
14
    void MyClass::foo() const { printf("Goodbye World\n"); }
15
 
16
  }
17
 
18
  static MyClass variable;
19
 
20
}
21
 
22
int main() {
23
  return 0;
24
}

powered by: WebSVN 2.1.0

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