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