[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Parser / cxx-concept-declaration.cpp
blob9248e26b9cbebf2673fc9d7a718ab0c7a7e70bcb
2 // Support parsing of concepts
3 // Disabled for now.
5 // RUN: %clang_cc1 -std=c++20 -x c++ -verify %s
6 template<typename T> concept C1 = true;
8 template<class T>
9 concept C = true;
11 template<class T>
12 class C<int> {}; //expected-error{{identifier followed by '<' indicates a class template specialization but 'C' refers to a concept}}