Andrew Morrow: This patch fixes
test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/pointer.pass.cpp to accept '(nil)' as a valid representation for NULL so that the test passes on Linux. The same thing is already done in some other tests, like in /test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@161188 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ee7a0bf265
commit
6d39f9f356
@ -63,7 +63,7 @@ int main()
|
|||||||
std::ostream os(&sb);
|
std::ostream os(&sb);
|
||||||
const void* n = 0;
|
const void* n = 0;
|
||||||
os << n;
|
os << n;
|
||||||
assert(sb.str() == "0x0");
|
assert(sb.str() == "0x0" || sb.str() == "(nil)");
|
||||||
assert(os.good());
|
assert(os.good());
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
@ -35,11 +35,6 @@ input.output/
|
|||||||
11:55:59 PM EST' which does not match the expected result in the
|
11:55:59 PM EST' which does not match the expected result in the
|
||||||
test.
|
test.
|
||||||
put_time.pass.cpp: idem.
|
put_time.pass.cpp: idem.
|
||||||
output.streams/
|
|
||||||
ostream.formatted/
|
|
||||||
ostream.inserters.arithmetic/
|
|
||||||
pointer.pass.cpp: Local representation of NULL is '(nil)' which
|
|
||||||
the test does not expect. Patch in progress.
|
|
||||||
language.support/
|
language.support/
|
||||||
support.start.term/
|
support.start.term/
|
||||||
quick_exit.pass.cpp: Fails because it doesn't know about
|
quick_exit.pass.cpp: Fails because it doesn't know about
|
||||||
|
Loading…
x
Reference in New Issue
Block a user