public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-2763] libstdc++: Remove main() from some compile-only tests
@ 2022-09-21 14:02 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-09-21 14:02 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:16fe325a43274cbab2332ef1c60b9c1ff85db6ef

commit r13-2763-g16fe325a43274cbab2332ef1c60b9c1ff85db6ef
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Sep 21 09:31:14 2022 +0100

    libstdc++: Remove main() from some compile-only tests
    
    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.

Diff:
---
 libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc | 5 -----
 libstdc++-v3/testsuite/17_intro/headers/c++2011/all_attributes.cc | 5 -----
 libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc | 5 -----
 libstdc++-v3/testsuite/17_intro/headers/c++2017/all_attributes.cc | 5 -----
 libstdc++-v3/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()
-{
-}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-21 14:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21 14:02 [gcc r13-2763] libstdc++: Remove main() from some compile-only tests Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).