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(-)

diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc 
b/libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc
index 20cda779b03..b8b37473505 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc
@@ -38,8 +38,3 @@
 
 #include <bits/extc++.h>
 #include <cxxabi.h>
-
-int
-main()
-{
-}
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++2011/all_attributes.cc 
b/libstdc++-v3/testsuite/17_intro/headers/c++2011/all_attributes.cc
index c2b4c236da7..222ab786c95 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/c++2011/all_attributes.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++2011/all_attributes.cc
@@ -38,8 +38,3 @@
 
 #include <bits/extc++.h>
 #include <cxxabi.h>
-
-int
-main()
-{
-}
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc 
b/libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc
index f6c4251acbc..b31d13f22d0 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc
@@ -38,8 +38,3 @@
 
 #include <bits/extc++.h>
 #include <cxxabi.h>
-
-int
-main()
-{
-}
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++2017/all_attributes.cc 
b/libstdc++-v3/testsuite/17_intro/headers/c++2017/all_attributes.cc
index 170ebef51c6..fd4d7d477f0 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/c++2017/all_attributes.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++2017/all_attributes.cc
@@ -37,8 +37,3 @@
 
 #include <bits/extc++.h>
 #include <cxxabi.h>
-
-int
-main()
-{
-}
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++2020/all_attributes.cc 
b/libstdc++-v3/testsuite/17_intro/headers/c++2020/all_attributes.cc
index 1d573a20c10..f700badb304 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/c++2020/all_attributes.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++2020/all_attributes.cc
@@ -36,8 +36,3 @@
 
 #include <bits/extc++.h>
 #include <cxxabi.h>
-
-int
-main()
-{
-}
-- 
2.37.3

Reply via email to