ape fails with clang

Closes #18802.