diff options
Diffstat (limited to 'test/regression/sizeof2.c')
-rw-r--r-- | test/regression/sizeof2.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/regression/sizeof2.c b/test/regression/sizeof2.c new file mode 100644 index 00000000..66e38c02 --- /dev/null +++ b/test/regression/sizeof2.c @@ -0,0 +1,9 @@ +#include <stdlib.h> +#include <stdio.h> + +int main() +{ + printf("%d\n", sizeof("abcd")); + printf("%d\n", sizeof(L"abcd") / sizeof(wchar_t)); + return 0; +} |