//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // class function // template function(allocator_arg_t, const A&, nullptr_t); #include #include #include "../test_allocator.h" int main() { std::function f(std::allocator_arg, test_allocator(), nullptr); assert(!f); }