13 lines · c
1// Check that clang is able to process response files with extra whitespace.2// We generate a dos-style file with \r\n for line endings, and then split3// some joined arguments (like "-x c") across lines to ensure that regular4// clang (not clang-cl) can process it correctly.5//6// RUN: printf " -x\r\nc\r\n-DTEST\r\n" > %t.0.txt7// RUN: %clang -E @%t.0.txt %s -v 2>&1 | FileCheck %s -check-prefix=SHORT8// SHORT: extern int it_works;9 10#ifdef TEST11extern int it_works;12#endif13