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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
debug2.C
blob
f5f0a4f2e6b8be789026e561d75f67ec9df51b9a
1
// { dg-do assemble }
2
// { dg-options "-funroll-loops -O2 -g" }
3
4
inline void f()
5
{
6
typedef int T;
7
}
8
9
inline void g()
10
{
11
typedef double U;
12
}
13
14
int n;
15
16
struct B
17
{
18
~B() {
19
for (int i = 0; i < n; ++i)
20
g();
21
}
22
};
23
24
struct D : public B {
25
~D() {
26
for (int j = 0; j < n; ++j)
27
f();
28
}
29
};
30
31
D d;