Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / sanitizer_common / TestCases / Posix / putc_putchar_unlocked.cpp
blob12c35c220d97b6d5d58894cb71c947f350ab4612
1 // RUN: %clangxx -g %s -o %t && %run %t | FileCheck %s
2 // CHECK: bc
4 #include <assert.h>
5 #include <stdio.h>
7 int main(void) {
8 assert(putc_unlocked('b', stdout) != EOF);
9 assert(putchar_unlocked('c') != EOF);
11 return 0;