llvm-for-llvmta/tools/clang/test/Preprocessor/pr19649-signed-wchar_t.c

7 lines
227 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -E -x c %s
// RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -E -fno-signed-char -x c %s
#if (L'\0' - 1 > 0)
# error "Unexpected expression evaluation result"
#endif