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

7 lines
234 B
C

// RUN: %clang_cc1 -triple i386-pc-cygwin -E -x c %s
// RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -E -fwchar-type=short -fno-signed-wchar -x c %s
#if (L'\0' - 1 < 0)
# error "Unexpected expression evaluation result"
#endif