13 lines · cpp
1 2// Support parsing of concepts3// Disabled for now.4 5// RUN: %clang_cc1 -std=c++20 -x c++ -verify %s6template<typename T> concept C1 = true;7 8template<class T>9concept C = true;10 11template<class T>12class C<int> {}; //expected-error{{identifier followed by '<' indicates a class template specialization but 'C' refers to a concept}}13