3 Terms and definitions [intro.defs]

3.29[defns.well.formed]
well-formed program

C++ program constructed according to the syntax rules, diagnosable semantic rules, and the one-definition rule