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