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
PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
rtti
/
typeid5.C
blob
ef769ce533a904c7da0a657f9edba963cb8ecca8
1
// PR c++/29928
2
// { dg-do compile }
3
4
#include <typeinfo>
5
6
struct S;
7
8
void f()
9
{
10
const std::type_info& info1 = typeid(int []);
11
const std::type_info& info2 = typeid(S [3]);
12
const std::type_info& info3 = typeid(S []);
13
}