[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Lexer / minimize_source_to_dependency_directives_invalid_error.c
blob020912a4965de06bbdf59d09b210d7946a106e09
1 // Test CF+LF are properly handled along with quoted, multi-line #error
2 // RUN: %clang_cc1 -DOTHER -print-dependency-directives-minimized-source %s 2>&1 | FileCheck %s
4 #ifndef TEST
5 #error "message \
6 more message \
7 even more"
8 #endif
10 #ifdef OTHER
11 #include <string>
12 #endif
14 // CHECK: #ifdef OTHER
15 // CHECK-NEXT: #include <string>
16 // CHECK-NEXT: #endif