xref: /llvm-project/clang/test/SemaCXX/type-trait-eval-crash-issue-57008.cpp (revision e5825190b8ad7ac8fe762fe4101cd4af04f4c057)
1 // RUN: %clang_cc1 -fsyntax-only %s -verify
2 
3 // Shouldn't crash here
4 // Reported by https://github.com/llvm/llvm-project/issues/57008
5 template<class... Ts> bool b = __is_constructible(Ts...); // expected-error{{type trait requires 1 or more arguments}}
6 bool x = b<>; // expected-note{{in instantiation of variable template specialization}}
7