Home | History | Annotate | Download | only in msan
      1 // RUN: %clangxx_msan -m64 -O0 %s -o %t && %run %t
      2 
      3 #include <stdlib.h>
      4 #include <string.h>
      5 #include <time.h>
      6 
      7 extern char *tzname[2];
      8 
      9 int main(void) {
     10   if (!strlen(tzname[0]) || !strlen(tzname[1]))
     11     exit(1);
     12   tzset();
     13   if (!strlen(tzname[0]) || !strlen(tzname[1]))
     14     exit(1);
     15   return 0;
     16 }
     17