17 lines · cpp
1// RUN: %clangxx_msan -O0 %s -o %t && %run %t2 3#include <stdlib.h>4#include <string.h>5#include <time.h>6 7extern char *tzname[2];8 9int 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