PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gnat.dg / interface7.adb
blob90417fed05f1a55264a7602f0d47282d8d02f84b
1 -- { dg-do compile }
3 procedure Interface7 is
4 type I_Type is interface;
6 type A1_Type is tagged null record;
7 type A2_Type is new A1_Type and I_Type with null record;
9 procedure Test (X : I_Type'Class) is
10 begin
11 if X in A2_Type then -- Test
12 null;
13 end if;
14 end Test;
16 begin null; end;