aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/20_util/optional/cons/value_neg.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/20_util/optional/cons/value_neg.cc')
-rw-r--r--libstdc++-v3/testsuite/20_util/optional/cons/value_neg.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/libstdc++-v3/testsuite/20_util/optional/cons/value_neg.cc b/libstdc++-v3/testsuite/20_util/optional/cons/value_neg.cc
index e9171ef..020cb26 100644
--- a/libstdc++-v3/testsuite/20_util/optional/cons/value_neg.cc
+++ b/libstdc++-v3/testsuite/20_util/optional/cons/value_neg.cc
@@ -19,8 +19,6 @@
// <http://www.gnu.org/licenses/>.
#include <optional>
-#include <testsuite_hooks.h>
-
#include <string>
#include <memory>
@@ -37,8 +35,6 @@ int main()
std::optional<std::unique_ptr<int>> oup2 = new int; // { dg-error "conversion" }
struct U { explicit U(std::in_place_t); };
std::optional<U> ou(std::in_place); // { dg-error "no matching" }
- // { dg-error "no type" "" { target { *-*-* } } 1020 }
- // { dg-error "no type" "" { target { *-*-* } } 1030 }
- // { dg-error "no type" "" { target { *-*-* } } 1087 }
}
}
+// { dg-prune-output "no type .*enable_if" }