1-- { dg-do run } 2 3with sort1; 4procedure sort2 is 5begin 6 if Sort1 ("hello world") /= " dehllloorw" then 7 raise Program_Error; 8 end if; 9end sort2; 10