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
c++: robustify testcase [PR109752]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
cond5.C
blob
7ed9fbe892ec1dc43dde3ec82f9792e4b1119d80
1
// PR c++/40566
2
3
void
4
f (int x, int y)
5
{
6
int c = x ? 23 : throw "bla";
7
short d = y ? throw "bla" : 23;
8
char e = x ? 23 : throw "bla";
9
long f = x ? 23 : throw "bla";
10
}