Files
clang-p2996/compiler-rt/test/msan/textdomain.cc
Alexey Samsonov d06aa3dc00 [MSan] Remove explicit -m64 from RUN lines.
Target-specific flags should usually be configured by CMake/lit.

llvm-svn: 230999
2015-03-02 19:34:27 +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;
}