diff options
Diffstat (limited to 'libstdc++-v3/testsuite/17_intro/header_cstdlib.cc')
-rw-r--r-- | libstdc++-v3/testsuite/17_intro/header_cstdlib.cc | 7 |
1 files changed, 4 insertions, 3 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; } |