blob: 2e0226779f5ab0e7a35ed0c2ee880942abcedabb (
plain)
1
2
3
4
5
6
|
// RUN: %clang_cc1 -std=c++2a -verify %s
template<typename T> requires true
concept C = true; // expected-error{{concept cannot have associated constraints}}
// TODO: Add test for other kinds of associated constraints once we have them.
|