blob: 852f0bfaf798122a72e0e2f5d605632b4cee526d [file] [log] [blame]
// REQUIRES: shell
// RUN: %clang -E -fno-integrated-cc1 %s | head | FileCheck %s
// Test that the parent clang driver process doesn't crash when the child cc1
// process receives a SIGPIPE (Unix-only).
//
// The child should exit with IO_ERR, and the parent should exit cleanly.
// CHECK: sigpipe-handling.c