summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/diagnostics/std.exceptions
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/diagnostics/std.exceptions')
-rw-r--r--libcxx/test/std/diagnostics/std.exceptions/domain.error/domain_error.pass.cpp2
-rw-r--r--libcxx/test/std/diagnostics/std.exceptions/invalid.argument/invalid_argument.pass.cpp2
-rw-r--r--libcxx/test/std/diagnostics/std.exceptions/length.error/length_error.pass.cpp2
-rw-r--r--libcxx/test/std/diagnostics/std.exceptions/logic.error/logic_error.pass.cpp2
-rw-r--r--libcxx/test/std/diagnostics/std.exceptions/out.of.range/out_of_range.pass.cpp2
-rw-r--r--libcxx/test/std/diagnostics/std.exceptions/overflow.error/overflow_error.pass.cpp2
-rw-r--r--libcxx/test/std/diagnostics/std.exceptions/range.error/range_error.pass.cpp2
-rw-r--r--libcxx/test/std/diagnostics/std.exceptions/runtime.error/runtime_error.pass.cpp2
-rw-r--r--libcxx/test/std/diagnostics/std.exceptions/underflow.error/underflow_error.pass.cpp2
9 files changed, 18 insertions, 0 deletions
diff --git a/libcxx/test/std/diagnostics/std.exceptions/domain.error/domain_error.pass.cpp b/libcxx/test/std/diagnostics/std.exceptions/domain.error/domain_error.pass.cpp
index 31a320d113a..d01be6a874f 100644
--- a/libcxx/test/std/diagnostics/std.exceptions/domain.error/domain_error.pass.cpp
+++ b/libcxx/test/std/diagnostics/std.exceptions/domain.error/domain_error.pass.cpp
@@ -14,6 +14,8 @@
#include <string>
#include <cassert>
+#include "test_macros.h"
+
int main(int, char**)
{
static_assert((std::is_base_of<std::logic_error, std::domain_error>::value),
diff --git a/libcxx/test/std/diagnostics/std.exceptions/invalid.argument/invalid_argument.pass.cpp b/libcxx/test/std/diagnostics/std.exceptions/invalid.argument/invalid_argument.pass.cpp
index 00d9a9296df..a6d78039ab5 100644
--- a/libcxx/test/std/diagnostics/std.exceptions/invalid.argument/invalid_argument.pass.cpp
+++ b/libcxx/test/std/diagnostics/std.exceptions/invalid.argument/invalid_argument.pass.cpp
@@ -14,6 +14,8 @@
#include <string>
#include <cassert>
+#include "test_macros.h"
+
int main(int, char**)
{
static_assert((std::is_base_of<std::logic_error, std::invalid_argument>::value),
diff --git a/libcxx/test/std/diagnostics/std.exceptions/length.error/length_error.pass.cpp b/libcxx/test/std/diagnostics/std.exceptions/length.error/length_error.pass.cpp
index 1e8f1e46c8e..3a9096f777e 100644
--- a/libcxx/test/std/diagnostics/std.exceptions/length.error/length_error.pass.cpp
+++ b/libcxx/test/std/diagnostics/std.exceptions/length.error/length_error.pass.cpp
@@ -14,6 +14,8 @@
#include <string>
#include <cassert>
+#include "test_macros.h"
+
int main(int, char**)
{
static_assert((std::is_base_of<std::logic_error, std::length_error>::value),
diff --git a/libcxx/test/std/diagnostics/std.exceptions/logic.error/logic_error.pass.cpp b/libcxx/test/std/diagnostics/std.exceptions/logic.error/logic_error.pass.cpp
index e30b3b9f8ee..48a401e3b53 100644
--- a/libcxx/test/std/diagnostics/std.exceptions/logic.error/logic_error.pass.cpp
+++ b/libcxx/test/std/diagnostics/std.exceptions/logic.error/logic_error.pass.cpp
@@ -14,6 +14,8 @@
#include <string>
#include <cassert>
+#include "test_macros.h"
+
int main(int, char**)
{
static_assert((std::is_base_of<std::exception, std::logic_error>::value),
diff --git a/libcxx/test/std/diagnostics/std.exceptions/out.of.range/out_of_range.pass.cpp b/libcxx/test/std/diagnostics/std.exceptions/out.of.range/out_of_range.pass.cpp
index 01a5b46b4a4..ab5192de080 100644
--- a/libcxx/test/std/diagnostics/std.exceptions/out.of.range/out_of_range.pass.cpp
+++ b/libcxx/test/std/diagnostics/std.exceptions/out.of.range/out_of_range.pass.cpp
@@ -14,6 +14,8 @@
#include <string>
#include <cassert>
+#include "test_macros.h"
+
int main(int, char**)
{
static_assert((std::is_base_of<std::logic_error, std::out_of_range>::value),
diff --git a/libcxx/test/std/diagnostics/std.exceptions/overflow.error/overflow_error.pass.cpp b/libcxx/test/std/diagnostics/std.exceptions/overflow.error/overflow_error.pass.cpp
index a9e7fb99422..a5c3b9cad9e 100644
--- a/libcxx/test/std/diagnostics/std.exceptions/overflow.error/overflow_error.pass.cpp
+++ b/libcxx/test/std/diagnostics/std.exceptions/overflow.error/overflow_error.pass.cpp
@@ -14,6 +14,8 @@
#include <string>
#include <cassert>
+#include "test_macros.h"
+
int main(int, char**)
{
static_assert((std::is_base_of<std::runtime_error, std::overflow_error>::value),
diff --git a/libcxx/test/std/diagnostics/std.exceptions/range.error/range_error.pass.cpp b/libcxx/test/std/diagnostics/std.exceptions/range.error/range_error.pass.cpp
index 92d1151ff6c..7316b1870c6 100644
--- a/libcxx/test/std/diagnostics/std.exceptions/range.error/range_error.pass.cpp
+++ b/libcxx/test/std/diagnostics/std.exceptions/range.error/range_error.pass.cpp
@@ -14,6 +14,8 @@
#include <string>
#include <cassert>
+#include "test_macros.h"
+
int main(int, char**)
{
static_assert((std::is_base_of<std::runtime_error, std::range_error>::value),
diff --git a/libcxx/test/std/diagnostics/std.exceptions/runtime.error/runtime_error.pass.cpp b/libcxx/test/std/diagnostics/std.exceptions/runtime.error/runtime_error.pass.cpp
index c4b8eea74c8..5bb0fff914a 100644
--- a/libcxx/test/std/diagnostics/std.exceptions/runtime.error/runtime_error.pass.cpp
+++ b/libcxx/test/std/diagnostics/std.exceptions/runtime.error/runtime_error.pass.cpp
@@ -14,6 +14,8 @@
#include <string>
#include <cassert>
+#include "test_macros.h"
+
int main(int, char**)
{
static_assert((std::is_base_of<std::exception, std::runtime_error>::value),
diff --git a/libcxx/test/std/diagnostics/std.exceptions/underflow.error/underflow_error.pass.cpp b/libcxx/test/std/diagnostics/std.exceptions/underflow.error/underflow_error.pass.cpp
index 88a3f46fbdc..03d7356304c 100644
--- a/libcxx/test/std/diagnostics/std.exceptions/underflow.error/underflow_error.pass.cpp
+++ b/libcxx/test/std/diagnostics/std.exceptions/underflow.error/underflow_error.pass.cpp
@@ -14,6 +14,8 @@
#include <string>
#include <cassert>
+#include "test_macros.h"
+
int main(int, char**)
{
static_assert((std::is_base_of<std::runtime_error, std::underflow_error>::value),
OpenPOWER on IntegriCloud