Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
cb4cfe5d
Commit
cb4cfe5d
authored
Apr 19, 2003
by
Neil Booth
Committed by
Neil Booth
Apr 19, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.dg/other/stdbool-if.C: Remove.
From-SVN: r65812
parent
4e1f0f8e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
33 deletions
+1
-33
gcc/testsuite/ChangeLog
+1
-0
gcc/testsuite/g++.dg/other/stdbool-if.C
+0
-33
No files found.
gcc/testsuite/ChangeLog
View file @
cb4cfe5d
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
* gcc.dg/cpp/truefalse.cpp: New test.
* gcc.dg/cpp/truefalse.cpp: New test.
* gcc.dg/cpp/cpp.exp: Update.
* gcc.dg/cpp/cpp.exp: Update.
* g++.dg/other/stdbool-if.C: Remove.
2003-04-19 Neil Booth <neil@daikokuya.co.uk>
2003-04-19 Neil Booth <neil@daikokuya.co.uk>
...
...
gcc/testsuite/g++.dg/other/stdbool-if.C
deleted
100644 → 0
View file @
4e1f0f8e
/* { dg-do compile } */
/* { dg-options -pedantic } */
/* test of 'true' and 'false' in #if. this is accepted with a pedwarn
before stdbool.h is included, silently afterward. */
/* Make sure they're viable keywords. */
bool
a
=
true
;
bool
b
=
false
;
#if true
/* { dg-warning "true" "true in #if pedwarn" } */
#else
#error true is false
/* { dg-bogus "true" "true is false" } */
#endif
#if false
/* { dg-warning "false" "false in #if pedwarn" } */
#error false is true
/* { dg-bogus "false" "false is true" } */
#endif
#include <stdbool.h>
/* Must still be viable keywords. */
bool
c
=
true
;
bool
d
=
false
;
#if true
/* { dg-bogus "true" "true in #if with stdbool.h" } */
#else
#error true is false
/* { dg-bogus "true" "true is false" } */
#endif
#if false
/* { dg-bogus "false" "false in #if with stdbool.h" } */
#error false is true
/* { dg-bogus "false" "false is true" } */
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment