//===----------------------------------------------------------------------===// // // 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); // Allow incomplete argument types in the __is_callable check #include struct X{ typedef std::function callback_type; virtual ~X() {} private: callback_type _cb; }; int main() { }