projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f231bca
)
[modula2] Add missing stdbool to testcode
author
Gaius Mulley
<gaiusmod2@gmail.com>
Thu, 16 Mar 2023 21:50:02 +0000
(21:50 +0000)
committer
Gaius Mulley
<gaiusmod2@gmail.com>
Thu, 16 Mar 2023 21:50:02 +0000
(21:50 +0000)
The type bool is now used to represent BOOLEAN. The C source
must now include <stdbool.h>.
gcc/testsuite/ChangeLog:
* gm2/types/run/pass/d.c: Add missing include <stdbool.h>.
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
gcc/testsuite/gm2/types/run/pass/d.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gm2/types/run/pass/d.c
b/gcc/testsuite/gm2/types/run/pass/d.c
index
31d497d
..
36eea84
100644
(file)
--- a/
gcc/testsuite/gm2/types/run/pass/d.c
+++ b/
gcc/testsuite/gm2/types/run/pass/d.c
@@
-15,6
+15,8
@@
You should have received a copy of the GNU General Public License along
with gm2; see the file COPYING. If not, write to the Free Software
Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+#include <stdbool.h>
+
void exit (int);
typedef struct {