Relax pointer output test to accept glibc's output. Patch supplied by Jeffrey Yasskin.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@150927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant 2012-02-19 14:51:01 +00:00
parent 3508b3836b
commit 6df1412ca6

View File

@ -38,6 +38,6 @@ int main()
char str[50];
output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v);
std::string ex(str, iter.base());
assert(ex == "0x0");
assert(ex == "0x0" || ex == "(nil)");
}
}