summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/60054-interface-keyword-in-cpp.cpp
blob: ed92e6989d64067c96bd36abf297e0cdccb29346 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#include "sdkconfig.h"

#include <fs/nvs_storage.hpp>
#include <network/interface.hpp>

extern "C" void app_main (void) {
	fs::nvs_storage::initialize ();
	network::interface::initialize ();
}

#include "sdkconfig.h"
#include "esp_wifi.h"
#include "network/interface.hpp"


using namespace network;
void interface::initialize () {
	tcpip_adapter_init ();
}

// ----------------------------------------

namespace A {
class interface {
public:
interface() {
}

~interface() {
}

void foo() {
}
};
}

namespace B {
class interface {
public:
interface();
~interface();
void foo();
};

inline interface::interface() {
}
inline interface::~interface() {
}
inline void interface::foo() {
}
}

namespace C {
class interface {
public:
interface();
~interface();
void foo();
};

interface::interface() {
}
interface::~interface() {
}
void interface::foo() {
}
}

interface ::external_iterface;