repo.or.cz
/
blocksruntime.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ASan] Simplify exception/longjmp tests even further
[blocksruntime.git]
/
test
/
msan
/
textdomain.cc
blob
47e991e8c16b75610fce29fea512b6e658c595ae
1
// RUN: %clangxx_msan -m64 -O0 -g %s -o %t && %run %t
2
3
#include <libintl.h>
4
#include <stdio.h>
5
6
int
main
() {
7
const char
*
td
=
textdomain
(
"abcd"
);
8
if
(
td
[
0
] ==
0
) {
9
printf
(
"Try read"
);
10
}
11
return
0
;
12
}