Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
[]);
}