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
a4fb8087
Commit
a4fb8087
authored
Jan 25, 2010
by
Arnaud Charlet
Committed by
Arnaud Charlet
Jan 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gnat.dg/array_bounds_test.adb: New test.
From-SVN: r156216
parent
3d923671
Hide 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/gnat.dg/array_bounds_test.adb
+15
-0
No files found.
gcc/testsuite/ChangeLog
View file @
a4fb8087
2010-01-25 Arnaud Charlet <charlet@adacore.com>
* gnat.dg/array_bounds_test.adb: New test.
2010-01-25 Tobias Burnus <burnus@net-b.de>
PR fortran/42858
...
...
gcc/testsuite/gnat.dg/array_bounds_test.adb
0 → 100644
View file @
a4fb8087
-- { dg-do run }
with Ada.Streams; use Ada.Streams;
procedure Array_Bounds_Test is
One : constant Stream_Element := 1;
Two : constant Stream_Element := 2;
Sample : constant Stream_Element_Array := (0 => One) & Two;
begin
if Sample'First /= 0 then
raise Program_Error;
end if;
if Sample'Last /= 1 then
raise Program_Error;
end if;
end Array_Bounds_Test;
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