Debian Codegraph @

gcc/testsuite/g++.dg/concepts/pr84661.C

raw
1 // { dg-do compile { target c++14 } }
2 // { dg-additional-options "-fconcepts" }
3
4 struct S {
5 int &a;
6 void foo (decltype(((a = 0) || ((auto))))); // { dg-error "expected" }
7 };