forked from OSchip/llvm-project
15 lines
299 B
C++
15 lines
299 B
C++
// RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
|
|
// textdomain() is not a part of libc on FreeBSD and NetBSD.
|
|
// UNSUPPORTED: netbsd, freebsd
|
|
|
|
#include <libintl.h>
|
|
#include <stdio.h>
|
|
|
|
int main() {
|
|
const char *td = textdomain("abcd");
|
|
if (td[0] == 0) {
|
|
printf("Try read");
|
|
}
|
|
return 0;
|
|
}
|