repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
compiler-rt
/
test
/
sanitizer_common
/
TestCases
/
wcslen_test.c
blob
28efd76594081705c5ce5840f4de5ae0cb6c227c
1
// RUN: %clang %s -O0 -o %t && %run %t 2>&1
2
3
#include <assert.h>
4
#include <wchar.h>
5
6
int
main
(
int
argc
,
char
**
argv
) {
7
wchar_t
x
[] =
L
"Hello World!"
;
8
assert
(
wcslen
(
x
) ==
12
);
9
return
0
;
10
}