[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / sigpipe-handling.c
blob852f0bfaf798122a72e0e2f5d605632b4cee526d
1 // REQUIRES: shell
2 // RUN: %clang -E -fno-integrated-cc1 %s | head | FileCheck %s
4 // Test that the parent clang driver process doesn't crash when the child cc1
5 // process receives a SIGPIPE (Unix-only).
6 //
7 // The child should exit with IO_ERR, and the parent should exit cleanly.
9 // CHECK: sigpipe-handling.c