Revert "Merge to upstream r304942."
This reverts commit83b1388ecd, reversing changes made tof20819f925. Test: treehugger Bug: None
This commit is contained in:
@@ -11,8 +11,7 @@
|
||||
|
||||
// class function<R(ArgTypes...)>
|
||||
|
||||
// function(const function& f);
|
||||
// function(const function&& f);
|
||||
// function(const function& f);
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
@@ -63,7 +63,6 @@ int main()
|
||||
assert(A::count == 1);
|
||||
assert(f.target<A>());
|
||||
assert(f.target<int(*)(int)>() == 0);
|
||||
assert(f.target<int>() == nullptr);
|
||||
}
|
||||
assert(A::count == 0);
|
||||
{
|
||||
@@ -71,7 +70,6 @@ int main()
|
||||
assert(A::count == 0);
|
||||
assert(f.target<int(*)(int)>());
|
||||
assert(f.target<A>() == 0);
|
||||
assert(f.target<int>() == nullptr);
|
||||
}
|
||||
assert(A::count == 0);
|
||||
{
|
||||
@@ -79,7 +77,6 @@ int main()
|
||||
assert(A::count == 1);
|
||||
assert(f.target<A>());
|
||||
assert(f.target<int(*)(int)>() == 0);
|
||||
assert(f.target<int>() == nullptr);
|
||||
}
|
||||
assert(A::count == 0);
|
||||
{
|
||||
@@ -87,7 +84,6 @@ int main()
|
||||
assert(A::count == 0);
|
||||
assert(f.target<int(*)(int)>());
|
||||
assert(f.target<A>() == 0);
|
||||
assert(f.target<int>() == nullptr);
|
||||
}
|
||||
assert(A::count == 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user