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 762
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