summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/specs/weak1.ads
blob: 82cddc09ac27156233f7fc6e61465c55772a927d (plain)
1
2
3
4
5
6
7
package Weak1 is

   Myconst : constant Integer := 1234;
   pragma Export (C, Myconst, "myconst");
   pragma Weak_External (Myconst);

end Weak1;