Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
();
}