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
acc0131c
Commit
acc0131c
authored
Jul 06, 2002
by
Alexandre Oliva
Committed by
Alexandre Oliva
Jul 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* linkage1.C, linkage1-main.cc: New test.
From-SVN: r55288
parent
7ab5c789
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
0 deletions
+38
-0
gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog
+4
-0
gcc/testsuite/g++.old-deja/g++.oliva/linkage1-main.cc
+13
-0
gcc/testsuite/g++.old-deja/g++.oliva/linkage1.C
+21
-0
No files found.
gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog
View file @
acc0131c
2002-07-06 Alexandre Oliva <aoliva@redhat.com>
* linkage1.C, linkage1-main.cc: New test.
2001-02-15 Alexandre Oliva <aoliva@redhat.com>
* friend1.C: New test.
...
...
gcc/testsuite/g++.old-deja/g++.oliva/linkage1-main.cc
0 → 100644
View file @
acc0131c
// Copyright 2002 Free Software Foundation
// Derived by Alexandre Oliva <aoliva@redhat.com> from code posted by
// Mark Mitchell <mark@codesourcery.com>
typedef
struct
{
void
f
();
}
S
;
int
main
()
{
S
s
;
s
.
f
();
}
gcc/testsuite/g++.old-deja/g++.oliva/linkage1.C
0 → 100644
View file @
acc0131c
// Copyright 2002 Free Software Foundation
// Derived by Alexandre Oliva <aoliva@redhat.com> from code posted by
// Mark Mitchell <mark@codesourcery.com>
// Build don't run:
// Additional sources: linkage1-main.cc
// Verify that a member of a class is given global linkage when it's a
// member of a function whose name is taken from a typedef, by
// checking that another translation unit can call it. We don't do
// the right things on functions, but we do on data members.
// excess errors test - XFAIL *-*-*
typedef
struct
{
void
f
();
}
S
;
void
S
::
f
()
{}
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