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
8856c2d2
Commit
8856c2d2
authored
Apr 15, 1999
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new
From-SVN: r26471
parent
1ac7a7f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
2 deletions
+23
-2
gcc/testsuite/g++.old-deja/g++.ext/attrib1.C
+7
-2
gcc/testsuite/g++.old-deja/g++.ext/jump1.C
+16
-0
No files found.
gcc/testsuite/g++.old-deja/g++.ext/attrib1.C
View file @
8856c2d2
// Test for using prefix attributes in a
n abstract declarator
.
// Test for using prefix attributes in a
parameter decl
.
// Contributed by Jason Merrill <jason@cygnus.com>
// Contributed by Jason Merrill <jason@cygnus.com>
// Skip if not target: i?86-*-*
// Skip if not target: i?86-*-*
// Build don't link:
// Build don't link:
void
f
(
void
(
__attribute__
((
__stdcall__
))
*
)());
#define _stdcall __attribute__ ((__stdcall__))
typedef
void
(
_stdcall
*
pfn
)();
void
f
(
void
(
_stdcall
*
)
());
void
f
(
void
(
_stdcall
*
pfn
)());
gcc/testsuite/g++.old-deja/g++.ext/jump1.C
0 → 100644
View file @
8856c2d2
// Test that we can jump over the declaration of a non-POD object.
// Contributed by Jason Merrill <jason@cygnus.com>
// Special g++ Options: -fpermissive -w
struct
A
{
};
union
U
{
void
(
A
::*
p
)();
};
int
main
()
{
goto
foo
;
U
u
;
foo:
return
0
;
}
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