brintos

brintos / llvm-project-archived public Read only

0
0
Text · 216 B · 21bb93a Raw
13 lines · cpp
1// RUN: %clangxx -g %s -o %t && %run %t | FileCheck %s2// CHECK: {{^foobar$}}3 4#include <assert.h>5#include <stdio.h>6 7int main(void) {8  assert(fputs("foo", stdout) >= 0);9  assert(puts("bar") >= 0);10 11  return 0;12}13