blob: 3f63863e4c8f0cdfcf74aaf56b1c02f93e206647 [file] [log] [blame]
// { dg-do compile { target c++14 } }
// { dg-additional-options "-fconcepts" }
struct S {
int &a;
void foo (decltype(((a = 0) || ((auto))))); // { dg-error "expected" }
};