Files
llvm-project/clang/test/Preprocessor/if_warning.c
Daniel Dunbar a45cf5b6b0 Rename clang to clang-cc.
Tests and drivers updated, still need to shuffle dirs.

llvm-svn: 67602
2009-03-24 02:24:46 +00:00

13 lines
217 B
C

// RUN: clang-cc %s -E -Wundef -Werror 2>&1 | grep error | count 1 &&
// RUN: clang-cc %s -E -Werror 2>&1 | not grep error
#if foo // Should generate an warning
#endif
#ifdef foo
#endif
#if defined(foo)
#endif