repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[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
blob
020912a4965de06bbdf59d09b210d7946a106e09
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
3
4
#ifndef TEST
5
#error
"message \
6
more message \
7
even more"
8
#endif
9
10
#ifdef OTHER
11
#include <string>
12
#endif
13
14
// CHECK: #ifdef OTHER
15
// CHECK-NEXT: #include <string>
16
// CHECK-NEXT: #endif