You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
// RUN: %clangxx_msan -O0 %s -o %t && %run %t
|
|
|
|
#include <assert.h>
|
|
#include <locale.h>
|
|
#include <stdlib.h>
|
|
|
|
int main(void) {
|
|
char *locale = setlocale (LC_ALL, "");
|
|
assert(locale);
|
|
if (locale[0])
|
|
exit(0);
|
|
return 0;
|
|
}
|