xref: /llvm-project/clang/test/CXX/temp/concept/p4.cpp (revision 0330fba6e16db9b5d2079313646f93485c5ccf39)
1 // RUN:  %clang_cc1 -std=c++2a -verify %s
2 
3 template<typename T> requires true
4 concept 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