summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/language.support
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-01-20 04:59:57 +0000
committerEric Fiselier <eric@efcs.ca>2016-01-20 04:59:57 +0000
commit6469c3ec172db5e4da6e7ea64feab76e3c1a7f87 (patch)
tree7285831fa980740fac254f12c89e070afbe780f8 /libcxx/test/std/language.support
parent5959df89e935380d53f8530a94474ce41639e4b5 (diff)
downloadbcm5719-llvm-6469c3ec172db5e4da6e7ea64feab76e3c1a7f87.tar.gz
bcm5719-llvm-6469c3ec172db5e4da6e7ea64feab76e3c1a7f87.zip
Mark some test XFAIL for GCC 4.9 due to missing is_trivial* traits
llvm-svn: 258287
Diffstat (limited to 'libcxx/test/std/language.support')
-rw-r--r--libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp b/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp
index 1cc2aa62032..ca5170f649e 100644
--- a/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp
+++ b/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp
@@ -57,10 +57,14 @@ void test_comparisons()
#pragma clang diagnostic ignored "-Wnull-conversion"
#endif
void test_nullptr_conversions() {
+// GCC does not accept this due to CWG Defect #1423
+// http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1423
+#if defined(__clang__)
{
bool b = nullptr;
assert(!b);
}
+#endif
{
bool b(nullptr);
assert(!b);
OpenPOWER on IntegriCloud