mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
4111c9d34c
copied field by LLVM field if the record has a variable sized field in it. The problem is that the LLVM field will not completely cover the variable sized gcc field. llvm-svn: 65463
9 lines
206 B
Ada
9 lines
206 B
Ada
-- RUN: %llvmgcc -S -O2 %s -I%p/Support -o - | grep 105 | count 2
|
|
package body Element_Copy is
|
|
function F return VariableSizedField is
|
|
X : VariableSizedField;
|
|
begin
|
|
return X;
|
|
end;
|
|
end;
|