diff options
author | Dan Gohman <sunfish@mozilla.com> | 2014-02-26 18:41:24 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-26 18:54:40 -0800 |
commit | a5bbe64d08bc217af5daa43761b587a0c9cc88fa (patch) | |
tree | 57a505da12b48bd84f215ed75a13da14deb1f0dd | |
parent | 2fcf508830783213d3c1ffc164c4d1979c3755d4 (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() {} |