blob: ccccf6ffd1085366ddee46cd1c7b52020f78a28d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Static function
namespace {
static long StaticFunction(int a)
{
return 2;
}
}
// Inlined function
static inline int InlinedFunction(long a) { return 10; }
void FunctionCall()
{
StaticFunction(1);
InlinedFunction(1);
}
|