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-22_y.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
extern "C" void abort (void);
4
 
5
#include "vbase8-22.h"
6
 
7
void check_C0 (C0 &x, int i)
8
{
9
  if (x.i0 != i)
10
    abort ();
11
}
12
 
13
void check_C1 (C1 &x, int i)
14
{
15
  if (x.i1 != i)
16
    abort ();
17
}
18
 
19
void check_C2 (C2 &x, int i)
20
{
21
  if (x.i2 != i)
22
    abort ();
23
}
24
 
25
void check_C3 (C3 &x, int i)
26
{
27
  if (x.i3 != i)
28
    abort ();
29
}
30
 
31
void check_C4 (C4 &x, int i)
32
{
33
  if (x.i4 != i)
34
    abort ();
35
}
36
 
37
void check_C5 (C5 &x, int i)
38
{
39
  if (x.i5 != i)
40
    abort ();
41
}
42
 
43
void check_C6 (C6 &x, int i)
44
{
45
  if (x.i6 != i)
46
    abort ();
47
}
48
 
49
void check_C7 (C7 &x, int i)
50
{
51
  if (x.i7 != i)
52
    abort ();
53
}
54
 
55
void check_C8 (C8 &x, int i)
56
{
57
  if (x.i8 != i)
58
    abort ();
59
}
60
 
61
void check_C9 (C9 &x, int i)
62
{
63
  if (x.i9 != i)
64
    abort ();
65
}

powered by: WebSVN 2.1.0

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