summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/c_words.adb
blob: dff8716401c40b857d5a415ad31e0ffb621665d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--  { dg-do compile }

package body C_Words is
   
   function New_Word (Str : String) return Word is
   begin
      return (Str'Length, Str);
   end New_Word;
   
   function New_Word (Str : String) return C_Word is
   begin
      return (Str'Length, Str);
   end New_Word;
end C_Words;