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();
}