OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2012-11-27 Richard Biener <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
prof-robust-1.C
1
/* { dg-options "-O2 -fno-weak" } */
2
3
#include <stdio.h>
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
}