aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_posts/snippets/static_vs_inline_vs_unnamed_namespaces/inline/weird/main.cpp
blob: e278b9f5e9045039b4ce9fc42b5166d793f80fb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "another.hpp"

#include <iostream>

inline void shared() {
    std::cout << "main.cpp: shared()\n";
}

int main() {
    shared();
    another();
    return 0;
}