aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2023-03-16 21:50:02 +0000
committerGaius Mulley <gaiusmod2@gmail.com>2023-03-16 21:50:02 +0000
commite6ccae0ac0d53cfa9099d62fada050ee87d4d0ad (patch)
tree0371b7bcc793b308d880776f8bac2df70955271f
parentf231bca93ca92f6fd55de6fbe4bf8935f9ec558a (diff)
downloadgcc-e6ccae0ac0d53cfa9099d62fada050ee87d4d0ad.zip
gcc-e6ccae0ac0d53cfa9099d62fada050ee87d4d0ad.tar.gz
gcc-e6ccae0ac0d53cfa9099d62fada050ee87d4d0ad.tar.bz2
[modula2] Add missing stdbool to testcode
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>
-rw-r--r--gcc/testsuite/gm2/types/run/pass/d.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gm2/types/run/pass/d.c b/gcc/testsuite/gm2/types/run/pass/d.c
index 31d497d..36eea84 100644
--- 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 {