Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.4.0
/
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
[]);
}