diff options
Diffstat (limited to 'libstdc++-v3/testsuite/17_intro')
-rw-r--r-- | libstdc++-v3/testsuite/17_intro/header_cstdlib.cc | 7 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/17_intro/header_cwchar.cc | 1 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/17_intro/header_cstdlib.cc b/libstdc++-v3/testsuite/17_intro/header_cstdlib.cc index 32827cfbca0..f86f423d875 100644 --- a/libstdc++-v3/testsuite/17_intro/header_cstdlib.cc +++ b/libstdc++-v3/testsuite/17_intro/header_cstdlib.cc @@ -1,6 +1,6 @@ // 2000-01-01 bkoz -// Copyright (C) 2001 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002 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 @@ -26,12 +26,13 @@ void test01() { long a = std::abs(1L); - ldiv_t b = std::div(2L, 1L); + std::div(2L, 1L); + std::ldiv_t b; } void test02() { - // Make sure size_t is in namespace std + // Make sure size_t is in namespace std. std::size_t i = 5; } diff --git a/libstdc++-v3/testsuite/17_intro/header_cwchar.cc b/libstdc++-v3/testsuite/17_intro/header_cwchar.cc index 0f9974ddb13..8d65e024195 100644 --- a/libstdc++-v3/testsuite/17_intro/header_cwchar.cc +++ b/libstdc++-v3/testsuite/17_intro/header_cwchar.cc @@ -22,7 +22,6 @@ #include <cwchar> - int main(void) { // Make sure size_t is in namespace std |