1 2 3 4 5 6 7 8 9 10 11 12
// main.cpp #include "header.h" namespace MY_UNITY_ID { int i = 42; } int test4() { return MY_UNITY_ID::i; }