Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / sanitizer_common / TestCases / Posix / nl_langinfo.cpp
blob791e9378adaea50f60255fa27fb1f7d4c2ec638a
1 // RUN: %clangxx -O0 -g %s -o %t && %run %t 2>&1 | FileCheck %s
2 //
3 // UNSUPPORTED: darwin, target={{.*(linux|solaris).*}}
5 #include <langinfo.h>
7 #include <stdio.h>
9 int main(void) {
10 printf("nl_langinfo\n");
12 char *info = nl_langinfo(DAY_1);
14 printf("DAY_1='%s'\n", info);
16 // CHECK: nl_langinfo
17 // CHECK: DAY_1='{{.*}}'
19 return 0;