xref: /llvm-project/clang/test/Preprocessor/time64.c (revision 387b37af1aabf325e9be844361564dfad8d45c75)
1*387b37afSMichał Górny // RUN: %clang_cc1 -E -dM -triple=i686-pc-linux-gnu /dev/null | FileCheck -match-full-lines -check-prefix TIME32 %s
2*387b37afSMichał Górny // RUN: %clang_cc1 -E -dM -triple=i686-pc-linux-gnut64 /dev/null | FileCheck -match-full-lines -check-prefix TIME64 %s
3*387b37afSMichał Górny // RUN: %clang_cc1 -E -dM -triple=armv5tel-softfloat-linux-gnueabi /dev/null | FileCheck -match-full-lines -check-prefix TIME32 %s
4*387b37afSMichał Górny // RUN: %clang_cc1 -E -dM -triple=armv5tel-softfloat-linux-gnueabit64 /dev/null | FileCheck -match-full-lines -check-prefix TIME64 %s
5*387b37afSMichał Górny // RUN: %clang_cc1 -E -dM -triple=armv7a-unknown-linux-gnueabihf /dev/null | FileCheck -match-full-lines -check-prefix TIME32 %s
6*387b37afSMichał Górny // RUN: %clang_cc1 -E -dM -triple=armv7a-unknown-linux-gnueabihft64 /dev/null | FileCheck -match-full-lines -check-prefix TIME64 %s
7*387b37afSMichał Górny //
8*387b37afSMichał Górny // TIME32-NOT:#define _FILE_OFFSET_BITS 64
9*387b37afSMichał Górny // TIME32-NOT:#define _TIME_BITS 64
10*387b37afSMichał Górny //
11*387b37afSMichał Górny // TIME64:#define _FILE_OFFSET_BITS 64
12*387b37afSMichał Górny // TIME64:#define _TIME_BITS 64
13