[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / compiler-rt / test / msan / setlocale.cpp
blob796f4454e6aa4b2142d83d0bcc9741f5aa06df21
1 // RUN: %clangxx_msan -O0 %s -o %t && %run %t
3 #include <assert.h>
4 #include <locale.h>
5 #include <stdlib.h>
7 int main(void) {
8 char *locale = setlocale (LC_ALL, "");
9 assert(locale);
10 if (locale[0])
11 exit(0);
12 return 0;