Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
lib_min.cpp
Go to the documentation of this file.
1
#include <stdio.h>
2
3
static
const
struct
XXX {
4
XXX() { puts(
"XXX"
); }
5
} s_sss;
6
7
struct
A
{
8
int
aaa
;
9
A
()
10
:
aaa
(123)
11
{
12
puts(
"A cstr"
);
13
}
14
~A
()
15
{
16
puts(
"A dstr"
);
17
}
18
void
put
()
const
19
{
20
printf(
"aaa=%d\n"
,
aaa
);
21
}
22
};
23
24
template
<
int
dummy = 0>
25
struct
XT
{
26
static
A
sss
;
27
};
28
29
template
<
int
dummy>
30
A
XT<dummy>::sss
;
31
32
typedef
XT<0>
X
;
33
34
static
struct
Init
{
35
Init
()
36
{
37
puts(
"Init"
);
38
X::sss
.
put
();
39
}
40
} s_init;
41
42
int
f
() { puts(
"f"
);
return
4; }
43
44
static
const
int
r
=
f
();
45
46
int
main
()
47
{
48
puts(
"main"
);
49
printf(
"r=%d\n"
,
r
);
50
X::sss
.
put
();
51
}
r
const mie::Vuint & r
Definition
bn.cpp:28
f
int f()
Definition
lib_min.cpp:42
X
XT< 0 > X
Definition
lib_min.cpp:32
main
int main()
Definition
lib_min.cpp:46
A
Definition
Tricky.tests.cpp:102
A::A
A()
Definition
lib_min.cpp:9
A::~A
~A()
Definition
lib_min.cpp:14
A::aaa
int aaa
Definition
lib_min.cpp:8
A::put
void put() const
Definition
lib_min.cpp:18
Init
Definition
lib.h:54
Init::Init
Init()
Definition
lib_min.cpp:35
XT
Definition
lib.h:43
XT::sss
static A sss
Definition
lib_min.cpp:26
aaa
void aaa()
Definition
xbyak_mnemonic.h:1565
libraries
fc
libraries
ff
depends
xbyak
test
lib_min.cpp
Generated by
1.12.0