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
x86: Tune Skylake, Cannonlake and Icelake as Haswell
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
fntry1.C
blob
9a5d993bee0298d710b021e483545e79450d6ab0
1
// { dg-do run }
2
// Bug: g++ silently ignores function-try-blocks in templates.
3
// Submitted by Jason Merrill <jason@cygnus.com>
4
5
template <class T> void f (T) try { throw 1; } catch (...) { }
6
7
int main ()
8
{
9
f (1);
10
}