repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libgfortran: Fix namelist read.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
prof-robust-1.C
blob
a5d8cb3c47088eef67a5d8845575f90587d16960
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
}