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"
8 # CHECK-NEXT: error: Include directive within namespace MyNamespace {}.
9 # CHECK-NEXT: {{.*}}{{[/\\]}}Inputs{{[/\\]}}IncludeInNamespace.h:1:1:
10 # CHECK-NEXT: namespace MyNamespace {
12 # CHECK-NEXT: The "namespace MyNamespace {}" block is here.