7 lines · cpp
1// RUN: %clang_cc1 -fsyntax-only %s -verify2 3// Shouldn't crash here4// Reported by https://github.com/llvm/llvm-project/issues/570085template<class... Ts> bool b = __is_constructible(Ts...); // expected-error{{type trait requires 1 or more arguments}}6bool x = b<>; // expected-note{{in instantiation of variable template specialization}}7