btf: check hash maps are non-null before emptying
[official-gcc.git] / gcc / testsuite / gnat.dg / specs / tag1.ads
blob7cf7c99dd130029a4d7185a0a293e42d81d819eb
1 -- { dg-do compile }
3 package tag1 is
4 type T is tagged limited record
5 Y : access T'Class; -- OK
6 X : access Tag1.T'Class; -- Problem
7 end record;
8 end tag1;