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
3bb91036
Commit
3bb91036
authored
Feb 12, 2002
by
Neil Booth
Committed by
Neil Booth
Feb 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/decl-1.c: New test.
From-SVN: r49702
parent
26e9664c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/decl-1.c
+15
-0
No files found.
gcc/testsuite/ChangeLog
View file @
3bb91036
2002-02-12 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/decl-1.c: New test.
2002-02-12 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/c99-flex-array-2.c: Add -std=iso9899:1999
...
...
gcc/testsuite/gcc.dg/decl-1.c
0 → 100644
View file @
3bb91036
/* Copyright (C) 2002 Free Software Foundation, Inc.
Source: Neil Booth, 12 Feb 2002.
In the declaration of proc, x must be parsed as a typedef name
(6.7.5.3 p11). */
typedef
int
x
;
int
proc
(
int
(
x
));
/* x is a typedef, param to proc is a function. */
int
proc2
(
int
x
);
/* x is an identifier, param is an int. */
int
main
()
{
return
proc
(
proc2
);
/* { dg-bogus "integer from pointer" } */
}
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