c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / gnat.dg / cpp_constructor.adb
blob1ecae1b792f6873b1f86505c7a4fa441e65264b6
1 -- { dg-do compile }
3 with Interfaces.C; use Interfaces.C;
4 with Cpp_Constructor_FP;
5 with Cpp_Constructor_Useit;
7 procedure Cpp_Constructor is
8 F : Cpp_Constructor_FP.Class :=
9 Cpp_Constructor_FP.Constructor (Cpp_Constructor_Useit.My_Fn'Access);
10 begin
11 null;
12 end Cpp_Constructor;