So I have this code in 2 separate translation units:
// a.cpp #include inline int func() { return 5; } int proxy(); int main() { printf(\"%d\
The simplest way to detect such concerns is to copy all the functions into a single compilation unit (create one temporarily if needed). Any C++ compiler will then be able to detect and report duplicate definitions when compiling that file.