-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-input.output.ref
105 lines (81 loc) · 1.53 KB
/
test-input.output.ref
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
const double myConst=123; ///< This is a really special number
/// The first alphabet letters
const string myStrConst="abcd";
const string url = "https://example.com"; // test "efgh"
const string someOtherUrl = "https://test.com";
///@name Functions with different return types
///@{
variable FooBar(){
print 1
};
/// Function with subtype
///
/// The subtype is currently ignored
variable FooBarSubType(){
print 1
};
variable FooBarVar(){
print 2
};
dfref FooBarDFR(){
print 3
};
complex FooBarComp(){
print 4
};
string FooBarStr(){
print 5
};
wave FooBarWave(){
print 6
};
///@}
// decorators
static variable FooBarStatic(){
print 7
};
[[ threadsafe ]] static variable FooBarStaticThreadsafe(){
print 8
};
[[ threadsafe ]] variable FooBarThread(){
print 9
};
[[ override ]] variable FooBarOv(){
print 9
};
// decorators and return types
static dfref FooBarStaticDFR(){
print 7
};
/// My structure definition
struct struct1{;
string str;
variable var;
};
static struct struct2{;
string str;
variable var;
};
// parameters
variable FooParamVar(variable var){
variable var
};
variable FooParamStr(string str){
string str
};
variable FooParamStruct(struct1* s){
STRUCT struct1 &s
};
const string abcd = "This text is not a function declaration";
void Pic1(){
// ASCII85Begin
// M,6r;%14!\!!!!.8Ou6I!!!"5!!!!C#R18/!*gQ=PlLda"EQn$<!Wa8#^cngL]@DY'hLeZ<+nYd>>6
// "J
// ASCII85End
};
static void StaticPic2(){
// ASCII85Begin
// M,6r;%14!\!!!!.8Ou6I!!!"5!!!!C#R18/!*gQ=PlLda"EQn$<!Wa8#^cngL]@DY'hLeZ<+nYd>>6
// "J
// ASCII85End
};