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
4119f8a1
Commit
4119f8a1
authored
Dec 17, 2000
by
Neil Booth
Committed by
Neil Booth
Dec 17, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/cpp/multiline.c: New test.
From-SVN: r38330
parent
60291474
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/cpp/multiline.c
+24
-0
No files found.
gcc/testsuite/ChangeLog
View file @
4119f8a1
2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/multiline.c: New test.
2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
* g++.old-deja/g++.other/syshdr1.C: Update.
* g++.old-deja/g++.other/syshdr1.C: Update.
* gcc.dg/cpp/lineflags.c: Remove temporarily.
* gcc.dg/cpp/lineflags.c: Remove temporarily.
...
...
gcc/testsuite/gcc.dg/cpp/multiline.c
0 → 100644
View file @
4119f8a1
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* { dg-options "-C" } */
/* Test that multi-line tokens are recognised by cpp0 as being
multiline . Source: Neil Booth, 17 Dec 2000. */
/* Line 1
Line 2
Line 3
Line 4
*/
"line 1
line 2
line 3
line 4"
L"line 1
line 2
line 3
line 4"
/* Nowhere in the output of this file should there be a blank line.
We check for that in the .i file.
{ dg-final { if ![file exists multiline.i] { return } } }
{ dg-final { if \{ [grep multiline.i "^$"] == "" \} \{ } }
{ dg-final { return \} } }
{ dg-final { fail "multiline.c: multi-line tokens" } } */
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