OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [gdb/] [testsuite/] [gdb.cp/] [gdb1355.cc] - Blame information for rev 840

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
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
  return 0;
35
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.