Finally get the test suite passing in C++03!!
After months of work there are only 4 tests still failing in C++03. This patch fixes those tests. All of the libc++ builders should be green. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@246275 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -87,7 +87,8 @@ int main() {
|
||||
}
|
||||
{
|
||||
// Test with in-place shared_count.
|
||||
Ptr p = std::make_shared<int>(42);
|
||||
int val = 42;
|
||||
Ptr p = std::make_shared<int>(val);
|
||||
run_test(p);
|
||||
assert(p.use_count() == 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user