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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [compat/] [abi/] [vbase8-10_x.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-options -w }
2
 
3
#include "vbase8-10.h"
4
 
5
extern void check_C0 (C0&, int);
6
extern void check_C1 (C1&, int);
7
extern void check_C2 (C2&, int);
8
extern void check_C3 (C3&, int);
9
extern void check_C4 (C4&, int);
10
extern void check_C5 (C5&, int);
11
extern void check_C6 (C6&, int);
12
extern void check_C7 (C7&, int);
13
extern void check_C8 (C8&, int);
14
extern void check_C9 (C9&, int);
15
 
16
void
17
vbase8_10_x (void)
18
{
19
  C0 c0;
20
  C1 c1;
21
  C2 c2;
22
  C3 c3;
23
  C4 c4;
24
  C5 c5;
25
  C6 c6;
26
  C7 c7;
27
  C8 c8;
28
  C9 c9;
29
 
30
  c0.i0 = 0;
31
  c1.i1 = 101;
32
  c2.i2 = 202;
33
  c3.i3 = 303;
34
  c4.i4 = 404;
35
  c5.i5 = 505;
36
  c6.i6 = 606;
37
  c7.i7 = 707;
38
  c8.i8 = 808;
39
  c9.i9 = 909;
40
 
41
  check_C0 (c0, 0);
42
  check_C1 (c1, 101);
43
  check_C2 (c2, 202);
44
  check_C3 (c3, 303);
45
  check_C4 (c4, 404);
46
  check_C5 (c5, 505);
47
  check_C6 (c6, 606);
48
  check_C7 (c7, 707);
49
  check_C8 (c8, 808);
50
  check_C9 (c9, 909);
51
}

powered by: WebSVN 2.1.0

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