3 function Pure_Function2
(X
: Integer) return Integer is
8 pragma Pure_Function
(Pure_Function2
); -- { dg-error "pragma \"Pure_Function\" argument must be in same declarative part" }
9 pragma Pure_Function
(Pure_Function2
); -- { dg-error "pragma \"Pure_Function\" argument must be in same declarative part" }
10 pragma Pure_Function
(Pure_Function2
); -- { dg-error "pragma \"Pure_Function\" argument must be in same declarative part" }