//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // class function // template function(F); #define _LIBCPP_HAS_NO_VARIADICS #include #include int main() { std::function f(static_cast(0)); assert(!f); }