compiler: give error for non-int arguments to make
[official-gcc.git] / gcc / testsuite / gnat.dg / warn6.adb
blob0a388f148444bc48cb3b848cd623dc0905287267
1 -- { dg-do compile }
2 -- { dg-options "-O2" }
4 with Unchecked_Conversion;
5 with System;
7 package body Warn6 is
9 function Conv is new Unchecked_Conversion (System.Address, Q_T);
11 procedure Dummy is begin null; end;
13 end Warn6;