☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CXX
/
temp
/
concept
/
p4.cpp
☽
☼
clang/test/CXX/temp/concept/p4.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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.