OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* pt.c (instantiate_class_template_1): If DECL_PRESERVE_P is set
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
rtti
/
predefined-rtti-macro-2.C
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
}