summaryrefslogtreecommitdiff
path: root/test/std/input.output/iostream.format/quoted.manip/quoted.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/input.output/iostream.format/quoted.manip/quoted.pass.cpp')
-rw-r--r--test/std/input.output/iostream.format/quoted.manip/quoted.pass.cpp21
1 files changed, 8 insertions, 13 deletions
diff --git a/test/std/input.output/iostream.format/quoted.manip/quoted.pass.cpp b/test/std/input.output/iostream.format/quoted.manip/quoted.pass.cpp
index 8f07742c6..b87797da5 100644
--- a/test/std/input.output/iostream.format/quoted.manip/quoted.pass.cpp
+++ b/test/std/input.output/iostream.format/quoted.manip/quoted.pass.cpp
@@ -1,12 +1,13 @@
//===----------------------------------------------------------------------===//
//
-// The LLVM Compiler Infrastructure
-//
-// This file is dual licensed under the MIT and the University of Illinois Open
-// Source Licenses. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
+// UNSUPPORTED: c++98, c++03, c++11
+
// <iomanip>
// quoted
@@ -16,10 +17,6 @@
#include <string>
#include <cassert>
-#include "test_macros.h"
-
-#if TEST_STD_VER > 11
-
template <class CharT, class Traits>
bool is_skipws ( const std::basic_istream<CharT, Traits>& is ) {
return ( is.flags() & std::ios_base::skipws ) != 0;
@@ -124,7 +121,7 @@ void test_padding () {
}
-int main()
+int main(int, char**)
{
both_ways ( "" ); // This is a compilation check
@@ -174,8 +171,6 @@ int main()
assert ( unquote ( "" ) == "" ); // nothing there
assert ( unquote ( L"" ) == L"" ); // nothing there
test_padding ();
- }
-#else
-int main() {}
-#endif
+ return 0;
+}