[committed] libstdc++: Remove main() from some compile-only tests
Commit Message
Tested powerpc64le-linux, pushed to trunk.
-- >8 --
libstdc++-v3/ChangeLog:
* testsuite/17_intro/headers/c++1998/all_attributes.cc: Remove
unnecessary main function.
* testsuite/17_intro/headers/c++2011/all_attributes.cc:
Likewise.
* testsuite/17_intro/headers/c++2014/all_attributes.cc:
Likewise.
* testsuite/17_intro/headers/c++2017/all_attributes.cc:
Likewise.
* testsuite/17_intro/headers/c++2020/all_attributes.cc:
Likewise.
---
.../testsuite/17_intro/headers/c++1998/all_attributes.cc | 5 -----
.../testsuite/17_intro/headers/c++2011/all_attributes.cc | 5 -----
.../testsuite/17_intro/headers/c++2014/all_attributes.cc | 5 -----
.../testsuite/17_intro/headers/c++2017/all_attributes.cc | 5 -----
.../testsuite/17_intro/headers/c++2020/all_attributes.cc | 5 -----
5 files changed, 25 deletions(-)
@@ -38,8 +38,3 @@
#include <bits/extc++.h>
#include <cxxabi.h>
-
-int
-main()
-{
-}
@@ -38,8 +38,3 @@
#include <bits/extc++.h>
#include <cxxabi.h>
-
-int
-main()
-{
-}
@@ -38,8 +38,3 @@
#include <bits/extc++.h>
#include <cxxabi.h>
-
-int
-main()
-{
-}
@@ -37,8 +37,3 @@
#include <bits/extc++.h>
#include <cxxabi.h>
-
-int
-main()
-{
-}
@@ -36,8 +36,3 @@
#include <bits/extc++.h>
#include <cxxabi.h>
-
-int
-main()
-{
-}