aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gnat.dg/specs/rep_clause2.ads
blob: 361c141ec40ba58b156fe8056eaf5bc1ad4c25a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
-- { dg-do compile }
-- { dg-options "-gnatws" }

package Rep_Clause2 is

  type S is new String;
  for S'Component_Size use 256;

  type T is new S(1..8);

end Rep_Clause2;