7 lines · cpp
1// RUN: %clang_cc1 -std=c++2a -verify %s2 3template<typename T> requires true4concept C = true; // expected-error{{concept cannot have associated constraints}}5 6// TODO: Add test for other kinds of associated constraints once we have them.7