[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / compiler-rt / test / msan / textdomain.cpp
blob478b0993f8371070448ee609ec4fe8f4fe8e62c0
1 // RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
2 // textdomain() is not a part of libc on FreeBSD and NetBSD.
3 // UNSUPPORTED: netbsd, freebsd
5 #include <libintl.h>
6 #include <stdio.h>
8 int main() {
9 const char *td = textdomain("abcd");
10 if (td[0] == 0) {
11 printf("Try read");
13 return 0;