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
PR c++/9335
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
rtti
/
typeid1.C
1
#include <typeinfo>
2
3
struct A {
4
virtual ~A() {}
5
};
6
7
int main() {
8
A* a = new A;
9
typeid(*a).name();
10
}
11