llvm-capstone/clang/test/Lexer/Inputs/bad-header-guard.h
Richard Trieu 33a4b3db0d Introducing -Wheader-guard, a warning that checks header guards actually work
properly.  This warning checks that the #ifndef and #define directives at
the beginning of a header refer to the same macro name.  Includes a fix-it
hint to correct the header guard.

llvm-svn: 183867
2013-06-12 21:20:57 +00:00

5 lines
51 B
C

#ifndef bad_header_guard
#define bad_guard
#endif