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;