llvm/test/FrontendAda/non_lvalue.adb
Duncan Sands 1b4b25696b For multipart tests, place the parts with no
RUN line in Support.  Give up on sending output
to /dev/null - this cannot always be arranged.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40436 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-23 13:41:53 +00:00

8 lines
144 B
Ada

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