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
/
typeid6.C
blob
25f241ff4bd6512924c3ae4d74c94845a91f5031
1
// PR c++/33463
2
3
namespace std
4
{
5
class type_info {};
6
}
7
8
template<int> void foo()
9
{
10
!typeid(void); // { dg-error "!typeid\\(void\\)|candidate is" }
11
// { dg-message "" "match candidate text" { target *-*-* } .-1 }
12
}