Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
rtti
/
typeid5.C
blob: ef769ce533a904c7da0a657f9edba963cb8ecca8 [
file
] [
log
] [
blame
]
// 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
[]);
}