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
/
thunk3-1.C
blob
c540b0fa2b4f0052e410a286b30f925634b40c68
1
// { dg-do compile }
2
// { dg-options "-O1" }
3
struct Foo { };
4
struct Bar { virtual ~Bar(); };
5
struct Baz: public virtual Bar { virtual void Func (Foo); };
6
void unused() { Baz().Func(Foo()); }