PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / rtti / typeid5.C
blobef769ce533a904c7da0a657f9edba963cb8ecca8
1 // PR c++/29928
2 // { dg-do compile }
4 #include <typeinfo>
6 struct S;
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 []);