☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
rtti
/
typeid5.C
☽
☼
gcc/testsuite/g++.dg/rtti/typeid5.C
code
plain
raw
1
// PR c++/29928
2
// { dg-do compile }
3
4
#include <typeinfo>
5
6
struct S;
7
8
void f()
9
{
10
const std::type_info& info1 = typeid(int []);
11
const std::type_info& info2 = typeid(S [3]);
12
const std::type_info& info3 = typeid(S []);
13
}