#include #include #include "lib1.h" #include "lib2.h" using namespace std; int main() { cout << lib1::x << "\n"; cout << lib2::x << "\n"; //cout << x << "\n"; //won't compile: name collision lib1::f(); lib2::f(); //f(); //won't compile lib1::date d1; lib2::date d2; //date d3; //won't compile return EXIT_SUCCESS; }