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
/
rtti
/
predefined-rtti-macro-2.C
blob
284f2f64a23b71753ad4750c221a3038e421da5d
1
// { dg-do compile }
2
// { dg-options "-fno-rtti" }
3
4
struct B { };
5
6
void f(B* bp)
7
{
8
bp =
9
#ifndef __GXX_RTTI
10
static_cast<B*>(0);
11
#endif
12
}