1e05baf40SVedant Kumar // REQUIRES: shell 2e05baf40SVedant Kumar // RUN: %clang -E -fno-integrated-cc1 %s | head | FileCheck %s 3e05baf40SVedant Kumar 4e05baf40SVedant Kumar // Test that the parent clang driver process doesn't crash when the child cc1 5e05baf40SVedant Kumar // process receives a SIGPIPE (Unix-only). 6*5c29ffdaSFangrui Song // 7e05baf40SVedant Kumar // The child should exit with IO_ERR, and the parent should exit cleanly. 8e05baf40SVedant Kumar 9e05baf40SVedant Kumar // CHECK: sigpipe-handling.c 10