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
18c3a4ac
Commit
18c3a4ac
authored
Dec 11, 1998
by
Zack Weinberg
Committed by
Jeff Law
Dec 10, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c-torture/compile/981211-1.c: New test.
From-SVN: r24256
parent
4a5f66c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
0 deletions
+47
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/compile/981211-1.c
+43
-0
No files found.
gcc/testsuite/ChangeLog
View file @
18c3a4ac
Fri Dec 11 01:12:45 1998 Zack Weinberg <zack@rabi.columbia.edu>
* gcc.c-torture/compile/981211-1.c: New test.
1998-12-09 Alexandre Oliva <oliva@dcc.unicamp.br>
1998-12-09 Alexandre Oliva <oliva@dcc.unicamp.br>
* gcc.dg/ultrasp1.c: empty dg-options, avoid `long long' warnings
* gcc.dg/ultrasp1.c: empty dg-options, avoid `long long' warnings
...
...
gcc/testsuite/gcc.c-torture/compile/981211-1.c
0 → 100644
View file @
18c3a4ac
/* Basic tests of the #assert preprocessor extension. */
#define fail int fail
#assert abc (def)
#assert abc (ghi)
#assert abc (jkl)
#assert space ( s p a c e )
/* Basic: */
#if !#abc (def) || !#abc (ghi) || !#abc (jkl)
fail
#endif
/* any answer for #abc */
#if !#abc
fail
#endif
/* internal whitespace is collapsed,
external whitespace is deleted */
#if !#space (s p a c e) || !#space ( s p a c e ) || #space (space)
fail
#endif
/* removing assertions */
#unassert abc (jkl)
#if !#abc || !#abc (def) || !#abc (ghi) || #abc (jkl)
fail
#endif
#unassert abc
#if #abc || #abc (def) || #abc (ghi) || #abc (jkl)
fail
#endif
int
gobble
/* make sure it can succeed too.
also check space before open paren isn't significant */
#if #space(s p a c e)
;
#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