Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / msan / textdomain.cpp
blobd7266ac321572ffcc8ab080e3569098f6077c2dc
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: target={{.*(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;