The Lean Mean C++ Option Parser
|
Test for multiple definition errors.
testodr1.cc and testodr2.cc test optionparser.h for violations of the one definition rule, both at compile-time and at link-time. IOW, they test if optionparser.h can be included multiple times as well as that multiple object files that include it can be linked together.
Definition in file testodr1.cc.