summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/17_intro/header_ctime.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/17_intro/header_ctime.cc')
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_ctime.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/libstdc++-v3/testsuite/17_intro/header_ctime.cc b/libstdc++-v3/testsuite/17_intro/header_ctime.cc
index 03f8294cda6..1b97d645ec7 100644
--- a/libstdc++-v3/testsuite/17_intro/header_ctime.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_ctime.cc
@@ -1,6 +1,6 @@
// 2000-01-01 bkoz
-// Copyright (C) 2001 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2003 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
@@ -22,10 +22,9 @@
#include <ctime>
-
int main(void)
{
// Make sure size_t is in namespace std
- std::size_t i = 5;
+ std::size_t i __attribute__((unused)) = 5;
return 0;
}