[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git] / clang / test / Driver / response-file-extra-whitespace.c
blob77d811c58d085f2a2d07c7609bab350d6ad0b218
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 split
3 // some joined arguments (like "-x c") across lines to ensure that regular
4 // clang (not clang-cl) can process it correctly.
5 //
6 // RUN: printf " -x\r\nc\r\n-DTEST\r\n" > %t.0.txt
7 // RUN: %clang -E @%t.0.txt %s -v 2>&1 | FileCheck %s -check-prefix=SHORT
8 // SHORT: extern int it_works;
10 #ifdef TEST
11 extern int it_works;
12 #endif