summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/cmt_insert.cpp
blob: a5ae87d5d3e535b1968f216862178fb10fec7e23 (plain)
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
#include <string>

class CFoo
{
CFoo(int arg);
CFoo(char arg) {
}
~CFoo();
int foo1(int arg);
int foo2();
int foo3(char ch, int xx)
{
}
};

CFoo::CFoo(int arg) {
}

CFoo::~CFoo() {
}

int CFoo::foo1(int arg, int arg2)
{
}

int CFoo::foo2()
{
}

int CFoo::operator +()
{
}

map<string, int> func()
{
  // some codes
}

int some_func(void)
{
}

class some_class_declaration;

int some_func_declaration();