blob: 193402b966c4947db21a87c4fc76c5e87149f51a [file] [log] [blame]
John Thompson74083922013-09-18 18:19:43 +00001# RUN: not modularize %s -x c++ 2>&1 | FileCheck %s
2
3Inputs/IncludeInNamespace.h
4
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.