brintos

brintos / llvm-project-archived public Read only

0
0
Text · 222 B · e20e8b2 Raw
14 lines · cpp
1// RUN: %clangxx -O0 %s -o %t && %run %t2 3#include <assert.h>4#include <locale.h>5#include <stdlib.h>6 7int main(void) {8  char *locale = setlocale(LC_ALL, "");9  assert(locale);10  if (locale[0])11    exit(0);12  return 0;13}14