Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
condexpr1.C
blob: 1ca7dbfa64600458c13f5ec5be5f928a0b2662b1 [
file
] [
log
] [
blame
]
// PR c++/10247
// Origin: Lars Gullik Bjønes <larsbj@lyx.org>
// { dg-do compile }
struct
A
{};
A
const
foo
();
void
bar
()
{
A a
=
foo
();
A b
=
true
?
a
:
foo
();
}