brintos

brintos / llvm-project-archived public Read only

0
0
Text · 346 B · 791e937 Raw
21 lines · cpp
1// RUN: %clangxx -O0 -g %s -o %t && %run %t 2>&1 | FileCheck %s2//3// UNSUPPORTED: darwin, target={{.*(linux|solaris).*}}4 5#include <langinfo.h>6 7#include <stdio.h>8 9int main(void) {10  printf("nl_langinfo\n");11 12  char *info = nl_langinfo(DAY_1);13 14  printf("DAY_1='%s'\n", info);15 16  // CHECK: nl_langinfo17  // CHECK: DAY_1='{{.*}}'18 19  return 0;20}21