office-gobmx/idlc/test/parser/conversion.tests
Stephan Bergmann 3ae546f97b Use idlc/test/parser/conversion.tests in CustomTarget_unoidl/unoidl-write_test
...now that idlc is gone since "[API CHANGE] Remove deprecated idlc and regmerge
from the SDK".  (idlc implemented some dubious conversions from floating-point
to integer types, which unoidl-write does not implement, so the original version
of idlc/test/parser/conversion.tests was not usable in
CustomTarget_unoidl/unoidl-write_test.)

Change-Id: I3b69920dda24c54c9313cd5c2cd0c0fdd9951ca7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123614
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-11 09:58:17 +02:00

28 lines
816 B
Text

#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
EXPECT FAILURE "conversion.tests 1":
constants C { const byte C1 = 0.0; };
EXPECT FAILURE "conversion.tests 2":
constants C { const short C1 = 0.0; };
EXPECT FAILURE "conversion.tests 3":
constants C { const unsigned short C1 = 0.0; };
EXPECT FAILURE "conversion.tests 4":
constants C { const long C1 = 0.0; };
EXPECT FAILURE "conversion.tests 5":
constants C { const unsigned long C1 = 0.0; };
EXPECT FAILURE "conversion.tests 6":
constants C { const hyper C1 = 0.0; };
EXPECT FAILURE "conversion.tests 7":
constants C { const unsigned hyper C1 = 0.0; };