
47f7174ffa changed the types used in the Wasm SIMD builtin functions, but not all of their uses in wasm_simd128.h were updated. This commit fixes wasm_simd128.h and adds tests to make sure similar problems do not pass uncaught in the future. Differential Revision: https://reviews.llvm.org/D85347
11 lines
246 B
C++
11 lines
246 B
C++
// RUN: %clang_cc1 -triple wasm32-unknown-unknown -target-feature +simd128 -fsyntax-only -ffreestanding %s -verify
|
|
// expected-no-diagnostics
|
|
|
|
#if defined(__wasm__) && defined(__wasm_simd128__)
|
|
|
|
extern "C++" {
|
|
#include <wasm_simd128.h>
|
|
}
|
|
|
|
#endif
|