2013-08-12 20:51:05 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -dM -E %s -triple x86_64-none-linux-gnu | FileCheck %s --check-prefix=CHECK-X86
|
|
|
|
// RUN: %clang_cc1 -fsyntax-only -dM -E %s -triple armv7-none-eabi | FileCheck %s --check-prefix=CHECK-ARM
|
2012-05-04 19:23:40 +08:00
|
|
|
|
|
|
|
// CHECK-X86-NOT: #define __WCHAR_UNSIGNED__
|
|
|
|
// CHECK-X86: #define __WINT_UNSIGNED__ 1
|
|
|
|
|
|
|
|
// CHECK-ARM: #define __WCHAR_UNSIGNED__ 1
|
|
|
|
// CHECK-ARM-NOT: #define __WINT_UNSIGNED__ 1
|