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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.dg
/
opt
/
inline5.C
blob
dd61ee6bc012e824633cea4795c4a9ec48ec042e
1
// PR c++/12519
2
3
// { dg-do compile }
4
// { dg-options "-O" }
5
6
struct A
7
{
8
~A();
9
};
10
11
inline const A foo()
12
{
13
A a;
14
return a;
15
}
16
17
A bar()
18
{
19
return foo();
20
}