Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
rtti
/
cv1.C
blob: 59dd6592c9da7932e0ea0d7697f7bdff48195e62 [
file
] [
log
] [
blame
]
// { dg-do run }
#include
<typeinfo>
#include
<string.h>
struct
S
{};
typedef
S
volatile
T
[
4
];
T t
[
3
];
const
std
::
type_info
&
ti
=
typeid
(
t
);
int
main
()
{
if
(
strcmp
(
ti
.
name
(),
"A3_A4_1S"
)
!=
0
)
return
1
;
}