If an ill-formed function exists, but no one is around to call it, is it still undefined behavior?
Edit: Apparently the answer my half-facetious question is 'no', it's only undefined behavior if control flow reaches the illegal point.
n4659 9.6.3
Flowing off the end of a constructor, a destructor, or a function with a cv void return type is
equivalent to a return with no operand. Otherwise, flowing off the end of a function other than main (6.6.1)
results in undefined behavior.