[gcn] install.texi: Update for new ISA targets and their requirements
[gcc.git] / gcc / testsuite / g++.dg / cpp23 / ext-floating13.C
blobfd36c50ceae0ec8d26fb6c095df4f32f311cc71e
1 // P1467R9 - Extended floating-point types and standard names.
2 // { dg-do link { target c++23 } }
3 // { dg-options "" }
5 #include <typeinfo>
7 #ifdef __STDCPP_FLOAT16_T__
8 const std::type_info &a = typeid(decltype(0.0f16));
9 #endif
10 #ifdef __STDCPP_BFLOAT16_T__
11 const std::type_info &b = typeid(decltype(0.0bf16));
12 #endif
13 #ifdef __STDCPP_FLOAT32_T__
14 const std::type_info &c = typeid(decltype(0.0f32));
15 #endif
16 #ifdef __STDCPP_FLOAT64_T__
17 const std::type_info &d = typeid(decltype(0.0f64));
18 #endif
19 #ifdef __STDCPP_FLOAT128_T__
20 const std::type_info &e = typeid(decltype(0.0f128));
21 #endif
22 #ifdef __FLT32X_MAX__
23 const std::type_info &f = typeid(decltype(0.0f32x));
24 #endif
25 #ifdef __FLT64X_MAX__
26 const std::type_info &g = typeid(decltype(0.0f64x));
27 #endif
28 #ifdef __FLT128X_MAX__
29 const std::type_info &h = typeid(decltype(0.0f128x));
30 #endif
32 int
33 main ()