We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7eb834 commit c3aabeeCopy full SHA for c3aabee
src/lib/cxx/include/stddef.h
@@ -10,16 +10,17 @@
10
11
#ifdef __need_ptrdiff_t
12
#undef __need_ptrdiff_t
13
-typedef long int ptrdiff_t;
+typedef __PTRDIFF_TYPE__ ptrdiff_t;
14
#endif /* __need_ptrdiff_t */
15
16
#ifdef __need_size_t
17
#undef __need_size_t
18
-typedef long unsigned int size_t;
+typedef __SIZE_TYPE__ size_t;
19
#endif /* __need_size_t */
20
21
#ifdef __need_wchar_t
22
#undef __need_wchar_t
23
+typedef __WCHAR_TYPE__ wchar_t;
24
#endif /* __need_wchar_t */
25
26
#ifdef __need_NULL
tests/unit_tests/parser/c_stdlib.c
@@ -1,4 +1,4 @@
1
-// RUN: %cxx -toolchain wasm32 -verify %s
+// RUN: %cxx -toolchain wasm32 -verify -fcheck %s
2
3
#include <assert.h>
4
#include <complex.h>
0 commit comments