llvm-for-llvmta/tools/clang/test/CXX/temp/concept/p4.cpp

7 lines
240 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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.