mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 14:16:07 +00:00

On android x86_32 the long double is only 64 bits (compared to 80 bits on linux x86_32) and on android x86_64 the long double is IEEEquad (compared to x87DoubleExtended on linux x86_64). This CL creates new TargetInfo classes for this targets to represent these differences. Differential revision: http://reviews.llvm.org/D8357 llvm-svn: 233177
7 lines
207 B
C
7 lines
207 B
C
// RUN: %clang_cc1 -triple i386-linux-android -fsyntax-only -verify %s
|
|
// expected-no-diagnostics
|
|
|
|
extern int a1_0[sizeof(long double) == 8 ? 1 : -1];
|
|
extern int a1_i[__alignof(long double) == 4 ? 1 : -1];
|
|
|