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++/84702] ICE with default tmpl arg of overload set
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
eh
/
pr45569.C
blob
4f67770b4a71de1dd51017e5254212b96a6273d2
1
// { dg-do compile }
2
// { dg-options "-O -fnon-call-exceptions" }
3
4
float f ();
5
_Complex float g ();
6
7
void
8
i (_Complex float);
9
10
void j ()
11
{
12
_Complex float x = 0;
13
try
14
{
15
x = f ();
16
}
17
catch ( ...)
18
{
19
x += g ();
20
}
21
i (x);
22
}
23