summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/language.support/support.dynamic/nothrow_t.fail.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-09-24 22:13:17 +0000
committerLouis Dionne <ldionne@apple.com>2019-09-24 22:13:17 +0000
commitee9a468d9ce6feace0374fdc0fd7064e6f33d4b3 (patch)
tree8f0e2771f1ac9637a6000981e01e0957de9643f1 /libcxx/test/std/language.support/support.dynamic/nothrow_t.fail.cpp
parent06b3e3421af6d8bf027a19133380833c2df0ffb9 (diff)
downloadbcm5719-llvm-ee9a468d9ce6feace0374fdc0fd7064e6f33d4b3.tar.gz
bcm5719-llvm-ee9a468d9ce6feace0374fdc0fd7064e6f33d4b3.zip
[libc++] Try fixing tests that fail on GCC 5 and older
llvm-svn: 372782
Diffstat (limited to 'libcxx/test/std/language.support/support.dynamic/nothrow_t.fail.cpp')
-rw-r--r--libcxx/test/std/language.support/support.dynamic/nothrow_t.fail.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/std/language.support/support.dynamic/nothrow_t.fail.cpp b/libcxx/test/std/language.support/support.dynamic/nothrow_t.fail.cpp
index c1092c3516b..7fba5e3fff8 100644
--- a/libcxx/test/std/language.support/support.dynamic/nothrow_t.fail.cpp
+++ b/libcxx/test/std/language.support/support.dynamic/nothrow_t.fail.cpp
@@ -9,6 +9,10 @@
// UNSUPPORTED: c++98, c++03
+// Before GCC 6, aggregate initialization kicks in.
+// See https://stackoverflow.com/q/41799015/627587.
+// UNSUPPORTED: gcc-4, gcc-5
+
// struct nothrow_t {
// explicit nothrow_t() = default;
// };
OpenPOWER on IntegriCloud