diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2007-04-20 17:22:03 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2007-04-20 17:22:03 +0200 |
commit | 557435b74582557c1aba017c56f3a6efdce67a2c (patch) | |
tree | 64c9f13843ddbf9e67a05beb191287c3f51a476e /gcc/testsuite/gnat.dg | |
parent | 9c3087bd05e6a85ecb03e504ed088d96c7f026d9 (diff) | |
download | gcc-557435b74582557c1aba017c56f3a6efdce67a2c.zip gcc-557435b74582557c1aba017c56f3a6efdce67a2c.tar.gz gcc-557435b74582557c1aba017c56f3a6efdce67a2c.tar.bz2 |
Fix semantic error.
From-SVN: r123996
Diffstat (limited to 'gcc/testsuite/gnat.dg')
-rw-r--r-- | gcc/testsuite/gnat.dg/return1.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gnat.dg/return1.adb b/gcc/testsuite/gnat.dg/return1.adb index 2039f85..f632211 100644 --- a/gcc/testsuite/gnat.dg/return1.adb +++ b/gcc/testsuite/gnat.dg/return1.adb @@ -4,7 +4,7 @@ package body return1 is function X_Func (O : access Child) return access Base'Class is begin - return X_Local : access Child'Class do + return X_Local : access Base'Class do X_Local := O; end return; end X_Func; |