mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-20 12:05:48 -04:00
16 lines
275 B
C++
16 lines
275 B
C++
/* RUN: %clang_cc1 -E %s -x c++ | grep block_1
|
|
RUN: %clang_cc1 -E %s -x c++ | not grep block_2
|
|
RUN: %clang_cc1 -E %s -x c | not grep block
|
|
RUN: %clang_cc1 -E %s -x c++ -verify -Wundef
|
|
*/
|
|
// expected-no-diagnostics
|
|
|
|
#if true
|
|
block_1
|
|
#endif
|
|
|
|
#if false
|
|
block_2
|
|
#endif
|
|
|