aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/_posts/snippets/static_vs_inline_vs_unnamed_namespaces/inline/weird/main.cpp
blob: e278b9f5e9045039b4ce9fc42b5166d793f80fb5 (plain) (tree)
1
2
3
4
5
6
7
8
9



                      
                      


                                        
            



              
#include "another.hpp"

#include <iostream>

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

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