artulab
projects
/
openbsd
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f45a2abfb9f1ea2fe3da9525dfc5fa2cb910a9dd
[openbsd]
/
1
struct foo
2
{
3
int a;
4
int b;
5
int c;
6
int d;
7
int e;
8
int f;
9
int g;
10
int h;
11
int i;
12
int j;
13
int k;
14
int l;
15
int m;
16
int n;
17
int o;
18
int p;
19
int q;
20
int r;
21
22
foo(int X) :
23
a(X),
24
b(X+1),
25
c(X+3),
26
d(X+5),
27
e(X+7),
28
f(X+9),
29
g(X+11),
30
h(X+13),
31
i(X+15),
32
j(X+17),
33
k(X+19),
34
l(X+21),
35
m(X+23),
36
n(X+25),
37
o(X+27),
38
p(X+29),
39
q(X+31),
40
r(X+33) {}
41
};
42
43
struct wrapint
44
{
45
int x;
46
wrapint(int X) : x(X) {}
47
};
48
49
int main()
50
{
51
foo f00_1(1);
52
foo *f00_ptr = new foo(12);
53
54
f00_1.a++; // Set break point at this line.
55
56
wrapint test_cast('A' +
57
256*'B' +
58
256*256*'C'+
59
256*256*256*'D');
60
// Set cast break point at this line.
61
test_cast.x = 'Q' +
62
256*'X' +
63
256*256*'T'+
64
256*256*256*'F';
65
return 0; // Set second cast break point at this line.
66
}