X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=libstdc%2B%2B-v3%2Ftestsuite%2F20_util%2Ftuple%2Fcons%2Fdeduction.cc;h=af09c971f000ee19f3cfadb87ff2156cb1b48bb4;hb=99dee82307f1e163e150c9c810452979994047ce;hp=158d132d6ef1522e1c2141bef1fda79db36b7e32;hpb=85ec4feb11167c9e4489361bf2399a20afbe52c8;p=thirdparty%2Fgcc.git
diff --git a/libstdc++-v3/testsuite/20_util/tuple/cons/deduction.cc b/libstdc++-v3/testsuite/20_util/tuple/cons/deduction.cc
index 158d132d6ef1..af09c971f000 100644
--- a/libstdc++-v3/testsuite/20_util/tuple/cons/deduction.cc
+++ b/libstdc++-v3/testsuite/20_util/tuple/cons/deduction.cc
@@ -1,7 +1,7 @@
// { dg-options "-std=gnu++17" }
// { dg-do compile { target c++17 } }
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -19,6 +19,7 @@
// .
#include
+#include
template struct require_same;
template struct require_same { using type = void; };
@@ -123,10 +124,8 @@ test04()
std::pair p;
std::tuple x = p;
check_type>(x);
- int y = 42;
std::tuple x2{p};
check_type>(x2);
- const int z = 666;
std::pair p2;
std::tuple x3{p2};
check_type>(x3);