summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/bltins.adb
blob: 0ceb0b95ba3bcb424f3b89f8dfd7f64bcf5a98fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- { dg-do run }

procedure Bltins is

   function Sqrt (F : Float) return Float;
   pragma Import (Intrinsic, Sqrt, "__builtin_sqrtf");

   F : Float := 4.0;
   R : Float;
begin
   R := Sqrt (F);
end;