llvm/clang/test/Analysis/preprocessor-setup.c

// RUN: %clang_cc1 -E -setup-static-analyzer %s

#ifndef __clang_analyzer__
#error __clang_analyzer__ not defined
#endif