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
8c282aba
Commit
8c282aba
authored
Oct 21, 2017
by
Eric Botcazou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos
From-SVN: r253972
parent
f330b1ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
gcc/testsuite/gnat.dg/specs/discr4.ads
+3
-3
gcc/testsuite/gnat.dg/specs/discr4_pkg.ads
+2
-2
No files found.
gcc/testsuite/gnat.dg/specs/discr4.ads
View file @
8c282aba
--
{
dg
-
do
compile
}
--
{
dg
-
options
"-O"
}
with
Disc
4_Pkg
;
use
Disc
4_Pkg
;
with
Disc
r4_Pkg
;
use
Discr
4_Pkg
;
package
Disc4
is
package
Disc
r
4
is
type
Data
is
record
Val
:
Rec
;
...
...
@@ -20,4 +20,4 @@ package Disc4 is
C2
:
constant
Pair
:=
Build
(
Get
(
0
),
Rec_Three
);
end
Disc4
;
end
Disc
r
4
;
gcc/testsuite/gnat.dg/specs/discr4_pkg.ads
View file @
8c282aba
package
Disc4_Pkg
is
package
Disc
r
4_Pkg
is
type
Enum
is
(
One
,
Two
,
Three
);
...
...
@@ -24,4 +24,4 @@ private
function
Get
(
Value
:
Integer
)
return
Rec
is
(
Two
,
Value
);
end
Disc4_Pkg
;
end
Disc
r
4_Pkg
;
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