Nico Weber 74989aff53 compiler-rt: Rename cc files below test/sanitizer_common to cpp
See r367803 and similar other changes.

llvm-svn: 367863
2019-08-05 13:57:03 +00:00

13 lines
226 B
C++

// RUN: %clangxx -g %s -o %t && %run %t | FileCheck %s
// CHECK: bc
#include <assert.h>
#include <stdio.h>
int main(void) {
assert(putc_unlocked('b', stdout) != EOF);
assert(putchar_unlocked('c') != EOF);
return 0;
}