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