-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2011-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2007-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2007-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++98" }
-// { dg-do compile }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2007-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2007-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2007-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2007-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2007-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2007-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2007-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2007-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2007-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++98" }
-// { dg-do compile }
+// { dg-do compile { target c++98_only } }
// { dg-excess-errors "" { target uclibc } }
#include <cmath>
fp_type f1 = 1.0;
fp_type f2 = 3.0;
int res = 0;
-
+
res = std::fpclassify(f1);
res = std::isfinite(f2);
res = std::isinf(f1);
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2007-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2007-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2007-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2007-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2008-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2008-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2009-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// Copyright (C) 2008-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
// { dg-require-gthreads "" }
// Copyright (C) 2008-2020 Free Software Foundation, Inc.