1// RUN: %clang %s -O0 -o %t && %run %t 2>&1
2
3#include <assert.h>
4#include <wchar.h>
5
6int main(int argc, char **argv) {
7 wchar_t x[] = L"Hello World!";
8 assert(wcslen(x) == 12);
9 return 0;
10}
11

source code of compiler-rt/test/sanitizer_common/TestCases/wcslen_test.c