• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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