| 1 | // RUN: %clangxx -g %s -o %t && %run %t | FileCheck %s |
|---|---|
| 2 | // CHECK: bc |
| 3 | |
| 4 | #include <assert.h> |
| 5 | #include <stdio.h> |
| 6 | |
| 7 | int main(void) { |
| 8 | assert(putc_unlocked('b', stdout) != EOF); |
| 9 | assert(putchar_unlocked('c') != EOF); |
| 10 | |
| 11 | return 0; |
| 12 | } |
| 13 |
| 1 | // RUN: %clangxx -g %s -o %t && %run %t | FileCheck %s |
|---|---|
| 2 | // CHECK: bc |
| 3 | |
| 4 | #include <assert.h> |
| 5 | #include <stdio.h> |
| 6 | |
| 7 | int main(void) { |
| 8 | assert(putc_unlocked('b', stdout) != EOF); |
| 9 | assert(putchar_unlocked('c') != EOF); |
| 10 | |
| 11 | return 0; |
| 12 | } |
| 13 |