]> git.proxmox.com Git - rustc.git/blame - src/compiler-rt/test/msan/textdomain.cc
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / compiler-rt / test / msan / textdomain.cc
CommitLineData
92a42be0 1// RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
1a4d82fc
JJ
2
3#include <libintl.h>
4#include <stdio.h>
5
6int main() {
7 const char *td = textdomain("abcd");
8 if (td[0] == 0) {
9 printf("Try read");
10 }
11 return 0;
12}