llvm-project/clang/test/Preprocessor/pr19649-signed-wchar_t.c

7 lines
227 B
C
Raw Normal View History

// 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