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
/
template
/
pr52819.C
blob
66175bc21e4d185c8e7c68c0a0c9189e6635028b
1
// PR c++/52819
2
3
typedef void (*cfi)(void*);
4
5
void function(int *a) {}
6
7
template<cfi Func>
8
void get() { Func(0); }
9
10
int main()
11
{
12
get<(cfi)function>(); // { dg-error "" }
13
return 0;
14
}