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