[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang-tools-extra / test / modularize / ProblemsExternC.modularize
blobb91d7e593e340fbb88998263e44409fdc248e47a
1 # RUN: not modularize %s -x c++ 2>&1 | FileCheck %s
3 Inputs/IncludeInExtern.h
5 # CHECK: {{.*}}{{[/\\]}}Inputs{{[/\\]}}IncludeInExtern.h:2:3:
6 # CHECK-NEXT:   #include "Empty.h"
7 # CHECK-NEXT:   ^
8 # CHECK-NEXT: error: Include directive within extern "C" {}.
9 # CHECK-NEXT: {{.*}}{{[/\\]}}Inputs{{[/\\]}}IncludeInExtern.h:1:1:
10 # CHECK-NEXT: extern "C" {
11 # CHECK-NEXT: ^
12 # CHECK-NEXT: The "extern "C" {}" block is here.