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
* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
devirt1.C
blob
617db0504348a91be5150cefb59a5e46b52439d9
1
// { dg-do compile }
2
// { dg-options "-O" }
3
// { dg-final { scan-assembler "xyzzy" } }
4
5
struct S { S(); virtual void xyzzy(); };
6
inline void foo(S *s) { s->xyzzy(); }
7
void bar() { S s; foo(&s); }