summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/enum1_pkg.ads
blob: ff090869c427a4dd044a867e858e07ce380283f1 (plain)
1
2
3
4
5
6
7
8
9
package Enum1_Pkg is

  type Enum is (One, Two, Three);

  subtype Sub_Enum is Enum;

  My_N : Sub_Enum := One;

end Enum1_Pkg;