Sign in
llvm
/
compiler-rt
/
refs/heads/release_35@215014
/
.
/
test
/
msan
/
textdomain.cc
blob: 47e991e8c16b75610fce29fea512b6e658c595ae [
file
] [
log
] [
blame
]
// RUN: %clangxx_msan -m64 -O0 -g %s -o %t && %run %t
#include
<libintl.h>
#include
<stdio.h>
int
main
()
{
const
char
*
td
=
textdomain
(
"abcd"
);
if
(
td
[
0
]
==
0
)
{
printf
(
"Try read"
);
}
return
0
;
}