Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Lexer / wchar-signedness.c
blob8363a709ce51e935d76cdfe21938025873632837
1 // RUN: %clang_cc1 -dM -E %s -triple x86_64-none-linux-gnu | FileCheck %s --check-prefix=CHECK-X86
2 // RUN: %clang_cc1 -dM -E %s -triple armv7-none-eabi | FileCheck %s --check-prefix=CHECK-ARM
3 // RUN: %clang_cc1 -dM -E %s -triple thumbv7-none-eabi | FileCheck %s --check-prefix=CHECK-ARM
4 // RUN: %clang_cc1 -dM -E %s -triple s390x-none-zos | FileCheck %s --check-prefix=CHECK-ZOS
6 // CHECK-X86-NOT: #define __WCHAR_UNSIGNED__
7 // CHECK-X86: #define __WINT_UNSIGNED__ 1
9 // CHECK-ARM: #define __WCHAR_UNSIGNED__ 1
10 // CHECK-ARM-NOT: #define __WINT_UNSIGNED__ 1
12 // CHECK-ZOS: #define __WCHAR_UNSIGNED__ 1
13 // CHECK-ZOS-NOT: #define __WINT_UNSIGNED__ 1