mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-29 18:01:21 +00:00
13 lines
456 B
Plaintext
13 lines
456 B
Plaintext
# RUN: not modularize %s -x c++ 2>&1 | FileCheck %s
|
|
|
|
Inputs/IncludeInNamespace.h
|
|
|
|
# CHECK: {{.*}}{{[/\\]}}Inputs{{[/\\]}}IncludeInNamespace.h:2:3:
|
|
# CHECK-NEXT: #include "Empty.h"
|
|
# CHECK-NEXT: ^
|
|
# CHECK-NEXT: error: Include directive within namespace MyNamespace {}.
|
|
# CHECK-NEXT: {{.*}}{{[/\\]}}Inputs{{[/\\]}}IncludeInNamespace.h:1:1:
|
|
# CHECK-NEXT: namespace MyNamespace {
|
|
# CHECK-NEXT: ^
|
|
# CHECK-NEXT: The "namespace MyNamespace {}" block is here.
|