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
PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
devirt1.C
blob
f9b4dc2fc31b87b0286f4461f4eba3bd8d930ae1
1
// { dg-do compile }
2
// { dg-options "-O2" }
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); }