Add scalar_storage_order support for floating point
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / gdb1355.cc
1 struct mystruct
2 {
3 int m_int;
4 char m_char;
5 long int m_long_int;
6 unsigned int m_unsigned_int;
7 long unsigned int m_long_unsigned_int;
8 // long long int m_long_long_int;
9 // long long unsigned int m_long_long_unsigned_int;
10 short int m_short_int;
11 short unsigned int m_short_unsigned_int;
12 unsigned char m_unsigned_char;
13 float m_float;
14 double m_double;
15 long double m_long_double;
16 // complex int m_complex_int;
17 // complex float m_complex_float;
18 // complex long double m_complex_long_double;
19 // wchar_t m_wchar_t;
20 bool m_bool;
21 };
22
23 struct mystruct s1 =
24 {
25 117, 'a', 118, 119, 120,
26 // 121, 122,
27 123, 124, 'b', 125.0, 126.0, 127.0,
28 // complex int, complex float, complex long double, wchar_t,
29 true
30 };
31
32 int main ()
33 {
34 /* Reference s1 so that it is included. */
35 return s1.m_int - 117;
36 }
This page took 0.04712 seconds and 4 git commands to generate.