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