summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/language.support/support.dynamic/nothrow_t.fail.cpp
diff options
context:
space:
mode:
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