llvm/test/FrontendAda/non_lvalue.adb
Chris Lattner e10988ddbd move ada tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35629 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-03 21:46:22 +00:00

8 lines
144 B
Ada

-- RUN: %llvmgcc -c %s -o /dev/null
package body Non_LValue is
function A (Y : U) return String is
begin
return Y.X.B;
end;
end;