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