diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2001-05-12 16:53:08 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2001-05-12 16:53:08 +0000 |
commit | 04d930e6d469d787cda324b336bd5889e797f266 (patch) | |
tree | a9a7464578d2c7679d19da056ceaed1f74334863 /libstdc++-v3/testsuite/17_intro | |
parent | 90e0c4105558b573e458ab2944ec51f69a9cbffb (diff) | |
download | gcc-04d930e6d469d787cda324b336bd5889e797f266.zip gcc-04d930e6d469d787cda324b336bd5889e797f266.tar.gz gcc-04d930e6d469d787cda324b336bd5889e797f266.tar.bz2 |
*.cc: Remove spaces, make sure testcases return zero.
2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
* testsuite/config/default.exp: Update bugs email address.
From-SVN: r41997
Diffstat (limited to 'libstdc++-v3/testsuite/17_intro')
19 files changed, 17 insertions, 78 deletions
diff --git a/libstdc++-v3/testsuite/17_intro/header_ciso646.cc b/libstdc++-v3/testsuite/17_intro/header_ciso646.cc index 30a8982..29f786a 100644 --- a/libstdc++-v3/testsuite/17_intro/header_ciso646.cc +++ b/libstdc++-v3/testsuite/17_intro/header_ciso646.cc @@ -125,11 +125,3 @@ int main(void) return 0; } - - - - - - - - diff --git a/libstdc++-v3/testsuite/17_intro/header_cstdio.cc b/libstdc++-v3/testsuite/17_intro/header_cstdio.cc index 38d7cd5..383cc0a 100644 --- a/libstdc++-v3/testsuite/17_intro/header_cstdio.cc +++ b/libstdc++-v3/testsuite/17_intro/header_cstdio.cc @@ -22,14 +22,9 @@ #include <cstdio> - int main(void) { // Make sure size_t is in namespace std - std::size_t i = 5; // { dg-do compile } + std::size_t i = 5; return 0; } - - - - diff --git a/libstdc++-v3/testsuite/17_intro/header_cstdlib.cc b/libstdc++-v3/testsuite/17_intro/header_cstdlib.cc index 5ce60cb..32827cf 100644 --- a/libstdc++-v3/testsuite/17_intro/header_cstdlib.cc +++ b/libstdc++-v3/testsuite/17_intro/header_cstdlib.cc @@ -32,7 +32,7 @@ void test01() void test02() { // Make sure size_t is in namespace std - std::size_t i = 5; // { dg-do compile } + std::size_t i = 5; } int main() @@ -41,6 +41,3 @@ int main() test02(); return 0; } - - - diff --git a/libstdc++-v3/testsuite/17_intro/header_cstring.cc b/libstdc++-v3/testsuite/17_intro/header_cstring.cc index 02d51ea..ae8852a 100644 --- a/libstdc++-v3/testsuite/17_intro/header_cstring.cc +++ b/libstdc++-v3/testsuite/17_intro/header_cstring.cc @@ -26,11 +26,6 @@ int main(void) { // Make sure size_t is in namespace std - // { dg-do compile } std::size_t i = std::strlen("tibet shop/san francisco (415) 982-0326"); return 0; } - - - - diff --git a/libstdc++-v3/testsuite/17_intro/header_ctime.cc b/libstdc++-v3/testsuite/17_intro/header_ctime.cc index 98f48b7..03f8294 100644 --- a/libstdc++-v3/testsuite/17_intro/header_ctime.cc +++ b/libstdc++-v3/testsuite/17_intro/header_ctime.cc @@ -26,10 +26,6 @@ int main(void) { // Make sure size_t is in namespace std - std::size_t i = 5; // { dg-do compile } + std::size_t i = 5; return 0; } - - - - diff --git a/libstdc++-v3/testsuite/17_intro/header_cwchar.cc b/libstdc++-v3/testsuite/17_intro/header_cwchar.cc index 0b421ee..cdc91b2 100644 --- a/libstdc++-v3/testsuite/17_intro/header_cwchar.cc +++ b/libstdc++-v3/testsuite/17_intro/header_cwchar.cc @@ -26,6 +26,6 @@ int main(void) { // Make sure size_t is in namespace std - std::size_t i = 5; // { dg-do compile } + std::size_t i = 5; return 0; } diff --git a/libstdc++-v3/testsuite/17_intro/header_cwctype.cc b/libstdc++-v3/testsuite/17_intro/header_cwctype.cc index e5db1b5..8374a46 100644 --- a/libstdc++-v3/testsuite/17_intro/header_cwctype.cc +++ b/libstdc++-v3/testsuite/17_intro/header_cwctype.cc @@ -23,14 +23,10 @@ #if _GLIBCPP_USE_WCHAR_T #include <cwctype> // Make sure wint_t is in namespace std - std::wint_t i = 5; // { dg-do compile } + std::wint_t i = 5; #endif int main(void) { return 0; } - - - - diff --git a/libstdc++-v3/testsuite/17_intro/header_fstream.cc b/libstdc++-v3/testsuite/17_intro/header_fstream.cc index 1163fd1..9d510ac 100644 --- a/libstdc++-v3/testsuite/17_intro/header_fstream.cc +++ b/libstdc++-v3/testsuite/17_intro/header_fstream.cc @@ -20,7 +20,7 @@ // 17.4.1.2 Headers, fstream -#include <fstream> // { dg-do compile } +#include <fstream> #include <debug_assert.h> @@ -28,7 +28,3 @@ int main(void) { return 0; } - - - - diff --git a/libstdc++-v3/testsuite/17_intro/header_iomanip.cc b/libstdc++-v3/testsuite/17_intro/header_iomanip.cc index d9929f4..68067d9 100644 --- a/libstdc++-v3/testsuite/17_intro/header_iomanip.cc +++ b/libstdc++-v3/testsuite/17_intro/header_iomanip.cc @@ -20,7 +20,7 @@ // 17.4.1.2 Headers, iomanip -#include <iomanip> // { dg-do compile } +#include <iomanip> #include <debug_assert.h> @@ -28,7 +28,3 @@ int main(void) { return 0; } - - - - diff --git a/libstdc++-v3/testsuite/17_intro/header_ios.cc b/libstdc++-v3/testsuite/17_intro/header_ios.cc index facbecb..1f6c1aa 100644 --- a/libstdc++-v3/testsuite/17_intro/header_ios.cc +++ b/libstdc++-v3/testsuite/17_intro/header_ios.cc @@ -20,7 +20,7 @@ // 17.4.1.2 Headers, ios -#include <ios> // { dg-do compile } +#include <ios> #include <debug_assert.h> @@ -28,7 +28,3 @@ int main(void) { return 0; } - - - - diff --git a/libstdc++-v3/testsuite/17_intro/header_iosfwd.cc b/libstdc++-v3/testsuite/17_intro/header_iosfwd.cc index 695b832..4766e35 100644 --- a/libstdc++-v3/testsuite/17_intro/header_iosfwd.cc +++ b/libstdc++-v3/testsuite/17_intro/header_iosfwd.cc @@ -20,7 +20,7 @@ // 17.4.1.2 Headers, iosfwd -#include <iosfwd> // { dg-do compile } +#include <iosfwd> #include <debug_assert.h> @@ -28,7 +28,3 @@ int main(void) { return 0; } - - - - diff --git a/libstdc++-v3/testsuite/17_intro/header_iostream.cc b/libstdc++-v3/testsuite/17_intro/header_iostream.cc index 790846f..7067709 100644 --- a/libstdc++-v3/testsuite/17_intro/header_iostream.cc +++ b/libstdc++-v3/testsuite/17_intro/header_iostream.cc @@ -20,7 +20,7 @@ // 17.4.1.2 Headers, iostream -#include <iostream> // { dg-do compile } +#include <iostream> #include <debug_assert.h> @@ -28,7 +28,3 @@ int main(void) { return 0; } - - - - diff --git a/libstdc++-v3/testsuite/17_intro/header_istream.cc b/libstdc++-v3/testsuite/17_intro/header_istream.cc index 72eb224..e22550c 100644 --- a/libstdc++-v3/testsuite/17_intro/header_istream.cc +++ b/libstdc++-v3/testsuite/17_intro/header_istream.cc @@ -20,7 +20,7 @@ // 17.4.1.2 Headers, istream -#include <istream> // { dg-do compile } +#include <istream> #include <debug_assert.h> @@ -28,7 +28,3 @@ int main(void) { return 0; } - - - - diff --git a/libstdc++-v3/testsuite/17_intro/header_ostream.cc b/libstdc++-v3/testsuite/17_intro/header_ostream.cc index d365105..93ddc19 100644 --- a/libstdc++-v3/testsuite/17_intro/header_ostream.cc +++ b/libstdc++-v3/testsuite/17_intro/header_ostream.cc @@ -20,7 +20,7 @@ // 17.4.1.2 Headers, ostream -#include <ostream> // { dg-do compile } +#include <ostream> #include <debug_assert.h> @@ -28,7 +28,3 @@ int main(void) { return 0; } - - - - diff --git a/libstdc++-v3/testsuite/17_intro/header_sstream.cc b/libstdc++-v3/testsuite/17_intro/header_sstream.cc index bdbf0c4..2a76ff9 100644 --- a/libstdc++-v3/testsuite/17_intro/header_sstream.cc +++ b/libstdc++-v3/testsuite/17_intro/header_sstream.cc @@ -20,7 +20,7 @@ // 17.4.1.2 Headers, sstream -#include <sstream> // { dg-do compile } +#include <sstream> #include <debug_assert.h> @@ -28,7 +28,3 @@ int main(void) { return 0; } - - - - diff --git a/libstdc++-v3/testsuite/17_intro/header_streambuf.cc b/libstdc++-v3/testsuite/17_intro/header_streambuf.cc index 50234a6..5eb39cf 100644 --- a/libstdc++-v3/testsuite/17_intro/header_streambuf.cc +++ b/libstdc++-v3/testsuite/17_intro/header_streambuf.cc @@ -20,7 +20,7 @@ // 17.4.1.2 Headers, streambuf -#include <streambuf> // { dg-do compile } +#include <streambuf> #include <debug_assert.h> diff --git a/libstdc++-v3/testsuite/17_intro/headers.cc b/libstdc++-v3/testsuite/17_intro/headers.cc index 2ec4041..eb930f1 100644 --- a/libstdc++-v3/testsuite/17_intro/headers.cc +++ b/libstdc++-v3/testsuite/17_intro/headers.cc @@ -80,4 +80,4 @@ #include <cwctype> #endif -int main() { } // { dg-do compile } +int main() { return 0; } diff --git a/libstdc++-v3/testsuite/17_intro/headers_c++.cc b/libstdc++-v3/testsuite/17_intro/headers_c++.cc index d5c01a8..ad75bca 100644 --- a/libstdc++-v3/testsuite/17_intro/headers_c++.cc +++ b/libstdc++-v3/testsuite/17_intro/headers_c++.cc @@ -67,4 +67,4 @@ #include <wctype.h> #endif -int main() { } // { dg-do compile } +int main() { return 0; } diff --git a/libstdc++-v3/testsuite/17_intro/headers_c.cc b/libstdc++-v3/testsuite/17_intro/headers_c.cc index 406bc98..5831887 100644 --- a/libstdc++-v3/testsuite/17_intro/headers_c.cc +++ b/libstdc++-v3/testsuite/17_intro/headers_c.cc @@ -67,4 +67,4 @@ #include <cwctype> #endif -int main() { } // { dg-do compile } +int main() { return 0; } |