Sign in
nest-open-source
/
nest-cam
/
4320010
/
compiler-rt
/
014de64a7b1162920a4db16b4f186931df62bd0b
/
.
/
compiler-rt
/
test
/
msan
/
textdomain.cc
blob: 760debd68c33dfebd76caf930779122549eeb817 [
file
] [
log
] [
blame
]
// RUN: %clangxx_msan -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
;
}