LGTM, thanks for fixing! ================ Comment at: test/Sema/attr-naked.c:27 @@ +26,3 @@ + +__attribute__((naked)) void t6() { + ; ---------------- Maybe add a t7 that has the actual case from the PR, i.e. both an asm and null statement. http://reviews.llvm.org/D5256