// RUN: %clang_cc1 -std=c++1z -verify %s
void ;
void = f;
void noexcept = r; // expected-error {{cannot bind}}
void noexcept = true ? r : f; // expected-error {{cannot bind}}
void noexcept = true ? f : r; // expected-error {{cannot bind}}
// FIXME: Strictly, the rules in p4 don't allow this, because the operand types
// are not of the same type other than cv-qualifiers, but we consider that to
// be a defect, and instead allow reference-compatible types here.
void = true ? r : f;
void = true ? f : r;