Home | History | Annotate | Download | only in Headers
      1 // RUN: %clang_cc1 -ffreestanding -fsyntax-only -verify %s
      2 // RUN: %clang_cc1 -ffreestanding -fsyntax-only -verify -fshort-wchar %s
      3 
      4 #include <stdint.h>
      5 
      6 const bool swchar = (wchar_t)-1 > (wchar_t)0;
      7 
      8 int max_test[WCHAR_MAX == (swchar ? -(WCHAR_MIN+1) : (wchar_t)-1)];
      9 int min_test[WCHAR_MIN == (swchar ? 0 : -WCHAR_MAX-1)];
     10