llvm-project/clang/test/Driver/sigpipe-handling.c
Fangrui Song 5c29ffda90 Revert "[Driver][test] Replace ^//$ with empty string"
This reverts commit 4817b7729a1846b709ec02b98bfe11b0125f8e8f.

It caused some `^/\n` and had some objection about its readability improvement.
2022-06-24 13:52:27 -07:00

10 lines
311 B
C

// 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