xref: /llvm-project/compiler-rt/test/asan/TestCases/Linux/textdomain.c (revision 0c981cf69b21a2b5827502220796d35bafe9f550)
1 // RUN: %clang_asan -O0 -g %s -o %t
2 // RUN: %env_asan_opts=strict_string_checks=1 %run %t
3 
4 // Android NDK does not have libintl.h
5 // UNSUPPORTED: android
6 
7 #include <stdlib.h>
8 #include <libintl.h>
9 
main()10 int main() {
11   textdomain(NULL);
12   return 0;
13 }
14