blob: ef769ce533a904c7da0a657f9edba963cb8ecca8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// PR c++/29928
// { dg-do compile }
#include <typeinfo>
struct S;
void f()
{
const std::type_info& info1 = typeid(int []);
const std::type_info& info2 = typeid(S [3]);
const std::type_info& info3 = typeid(S []);
}
|