//===----------------------------------------------------------------------===// // // 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(allocator_arg_t, const A&); #include #include #include "../test_allocator.h" int main() { std::function f(std::allocator_arg, test_allocator()); assert(!f); }