• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 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.
13