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++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
rtti
/
dyncast5.C
blob
d0d58d0095ebb35ae0d087d1949dad1e89c9dbc7
1
// PR c++/29273
2
3
struct A { virtual ~A () { } };
4
struct B: A { } b [1];
5
6
void foo ()
7
{
8
dynamic_cast<B*>(b);
9
}