1/* This testcase is part of GDB, the GNU debugger. 2 3 Copyright 2016-2020 Free Software Foundation, Inc. 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 3 of the License, or 8 (at your option) any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 17 18#include <stdio.h> 19#include <stdlib.h> 20 21_Float32 f32; 22_Float64 f64; 23_Float128 f128; 24_Float32x f32x; 25_Float64x f64x; 26 27_Complex _Float32 c32; 28_Complex _Float64 c64; 29_Complex _Float128 c128; 30_Complex _Float32x c32x; 31_Complex _Float64x c64x; 32 33int main() 34{ 35 f32 = 1.5f32; 36 f64 = 2.25f64; 37 f128 = 3.375f128; 38 f32x = 10.5f32x; 39 f64x = 20.25f64x; 40 41 c32 = 1.5f32 + 1.0if; 42 c64 = 2.25f64 + 1.0if; 43 c128 = 3.375f128 + 1.0if; 44 c32x = 10.5f32x + 1.0if; 45 c64x = 20.25f64x + 1.0if; 46 47 return 0; 48} 49