freebsd-nq/test/msan/textdomain.cc
2015-09-06 18:41:23 +00:00

13 lines
206 B
C++

// 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;
}