diff options
author | Dan Gohman <sunfish@mozilla.com> | 2014-02-26 18:41:24 -0800 |
---|---|---|
committer | Dan Gohman <sunfish@mozilla.com> | 2014-02-26 18:41:24 -0800 |
commit | 51c484d755eec70ebb2c4592cef61131e00bcb44 (patch) | |
tree | 92bdd685dc424e8d2313c704487f5ac3917b63cd | |
parent | 632c823b8bfd3fd5a4b77628eddd6161c5d8367e (diff) |
Check in the version of this test which is actually updated for asmjs-unknown-emscripten.
-rw-r--r-- | test/Driver/asmjs-unknown-emscripten.cpp | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/test/Driver/asmjs-unknown-emscripten.cpp b/test/Driver/asmjs-unknown-emscripten.cpp index fb94f0ecf9..bf37734af4 100644 --- a/test/Driver/asmjs-unknown-emscripten.cpp +++ b/test/Driver/asmjs-unknown-emscripten.cpp @@ -45,19 +45,14 @@ int align_vl = __alignof(va_list); void __LITTLE_ENDIAN__defined() {} #endif -// CHECK: __native_client__defined -#ifdef __native_client__ -void __native_client__defined() {} +// CHECK: __asmjs__defined +#ifdef __asmjs__ +void __asmjs__defined() {} #endif -// CHECK: __le32__defined -#ifdef __le32__ -void __le32__defined() {} -#endif - -// CHECK: __pnacl__defined -#ifdef __pnacl__ -void __pnacl__defined() {} +// CHECK: __EMSCRIPTEN__defined +#ifdef __EMSCRIPTEN__ +void __EMSCRIPTEN__defined() {} #endif // CHECK: unixdefined @@ -65,11 +60,6 @@ void __pnacl__defined() {} void unixdefined() {} #endif -// CHECK: __ELF__defined -#ifdef __ELF__ -void __ELF__defined() {} -#endif - // CHECK: _GNU_SOURCEdefined #ifdef _GNU_SOURCE void _GNU_SOURCEdefined() {} |