repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr34938-1.C
blob
f23a5a3e20f55df36c20d95e7f89f30b9d006bdc
1
// PR c++/34938
2
3
typedef void (*fptr)() __attribute((noreturn));
4
template<int> void foo();
5
template<fptr> void bar();
6
7
fptr f = bar< foo<0> >; // { dg-error "noreturn" }