diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2012-04-26 12:08:09 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2012-04-26 12:08:09 +0000 |
commit | 3206403316fa505fbacea92c99ae13c5b664bc3e (patch) | |
tree | ad35c6ba56a382581164a2c4e86227659f8eebbc /test/Preprocessor/init.c | |
parent | 74eb4af18e6903e8b2e35babc5a1f6721d3782cb (diff) |
Define __ANDROID__ macro on -androideabi targets.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/init.c')
-rw-r--r-- | test/Preprocessor/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Preprocessor/init.c b/test/Preprocessor/init.c index e0f45f1728..0505fffedd 100644 --- a/test/Preprocessor/init.c +++ b/test/Preprocessor/init.c @@ -1762,3 +1762,6 @@ // NORTTI: __GXX_ABI_VERSION // NORTTI-NOT:#define __GXX_RTTI // NORTTI: __STDC__ +// +// RUN: %clang_cc1 -triple arm-linux-androideabi -E -dM < /dev/null | FileCheck -check-prefix ANDROID %s +// ANDROID: __ANDROID__ 1 |