repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge -r 127928:132243 from trunk
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
specs
/
access_constant_decl.ads
blob
aec40e6db828a95ccb4cfadc6c69f95acb6058f9
1
-- { dg-do compile }
2
package
Access_Constant_Decl
is
3
4
c
:
aliased constant
integer
:=
3
;
5
6
type
const_ptr
is access constant
integer
;
7
cp
:
const_ptr
:=
c
'access
;
8
9
x
:
access
integer
:=
cp
;
-- { dg-error "access-to-constant" }
10
11
end
Access_Constant_Decl
;