1 // RUN: %clang_cc1 -std=c++14 -fconcepts-ts -x c++ -verify %s
2
3 template<typename T>
fcpv(void)4 concept bool fcpv(void) { return true; }
5
6 template<typename T>
fcpi(int i=0)7 concept bool fcpi(int i = 0) { return true; } // expected-error {{function concept cannot have any parameters}}
8
9 template<typename... Ts>
fcpp(Ts...ts)10 concept bool fcpp(Ts... ts) { return true; } // expected-error {{function concept cannot have any parameters}}
11
12 template<typename T>
fcpva(...)13 concept bool fcpva(...) { return true; } // expected-error {{function concept cannot have any parameters}}
14