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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
fntry1.C
blob
17075c514c52842d986a73171f808f0683da3762
1
// Bug: g++ silently ignores function-try-blocks in templates.
2
// Submitted by Jason Merrill <jason@cygnus.com>
3
4
template <class T> void f (T) try { throw 1; } catch (...) { }
5
6
int main ()
7
{
8
f (1);
9
}