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] - Rev 695

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

/* { dg-options "-O2 -fno-weak" } */

#include <stdio.h>

namespace {
  namespace {
    
    class MyClass {
    public:
      void foo() const;
      ~MyClass() { foo(); }
    };
    
    void MyClass::foo() const { printf("Goodbye World\n"); }
    
  }
  
  static MyClass variable;
  
}

int main() {
  return 0;
}

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

powered by: WebSVN 2.1.0

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