repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
testsuite: pru: Fix pr64366.c for new -std=gnu23 default
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
rtti
/
cv1.C
blob
59dd6592c9da7932e0ea0d7697f7bdff48195e62
1
// { dg-do run }
2
3
#include <typeinfo>
4
#include <string.h>
5
6
struct S {};
7
8
typedef S volatile T[4];
9
10
T t[3];
11
12
const std::type_info& ti = typeid (t);
13
14
int main () {
15
if (strcmp (ti.name (), "A3_A4_1S") != 0)
16
return 1;
17
}