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
dc0e0d60
Commit
dc0e0d60
authored
Aug 05, 2008
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove test, premature.
From-SVN: r138724
parent
434d3cf1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
31 deletions
+0
-31
gcc/testsuite/ChangeLog
+0
-4
gcc/testsuite/gnat.dg/post_block.adb
+0
-27
No files found.
gcc/testsuite/ChangeLog
View file @
dc0e0d60
2008-08-04 Arnaud Charlet <charlet@adacore.com>
* gnat.dg/post_block.adb: New test.
2008-08-05 Richard Guenther <rguenther@suse.de>
PR middle-end/37026
...
...
gcc/testsuite/gnat.dg/post_block.adb
deleted
100644 → 0
View file @
434d3cf1
--
{
dg
-
do
compile
}
--
{
dg
-
options
"-gnata"
}
procedure
Post_Block
is
package
Pack
is
function
Size
(
X
:
Integer
)
return
Integer
;
pragma
Postcondition
(
Size
'Result = Value (X)'
Length
);
--
OK
pragma
Postcondition
(
Value
(
X
)
'Length = Size'
Result
);
--
Calling
the
following
requires
a
transient
block
.
function
Value
(
X
:
Integer
)
return
String
;
end
Pack
;
package
body
Pack
is
function
Size
(
X
:
Integer
)
return
Integer
is
begin
return
0
;
end
;
function
Value
(
X
:
Integer
)
return
String
is
begin
return
Integer
'image (X);
end;
end Pack;
begin
null;
end;
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