It is not allowed.
Quads were first allowed in the senior men's short program in the 1998-99 season, as the solo jump preceded by steps. I think it was in 2000-01 that quads were first allowed in the jump combination.
Since 1991, it has not been allowed to do the same jump for two different jump elements in the SP. (I.e., the only way you're allowed to repeat a jump in the SP is if you do a 3toe-3toe or 3loop-3loop combo . . . or double-double combo in juniors.)
With that restriction only, it would theoretically be legal to do a 4salchow combination and a solo 4toe, or vice versa.
For senior men, required element b) is "One triple or one quadruple jump immediately preceded by connecting steps and/or other comparable Free Skating movements."
Element c) is "One jump combination consisting of a double jump and a triple jump or two triple jumps or a quadruple jump and a double jump and a triple jump."
The clarification for element b) states that "For Senior Men any triple jump or quadruple jump is permitted, however when a quadruple jump is executed in c) a quadruple jump cannot be included again as a solo jump."
The clarification for c) states "For Senior Men when a quadruple jump is executed in b), a quadruple jump cannot be included again in the jump combination."
Someday, if enough skaters are successfully executing two or more different quads in their long programs on a regular basis, they may change the wording so that it would be legal to do two different quads in the short program. For now, though, it's not allowed.
See pp. 86-92 for the short program requirements; the relevant passages are on pp. 87 and 89.