[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / misplaced-1.cpp
blobd67ad194a92235037c23ac39da8615c78d676f23
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify
4 namespace N1 { // expected-note{{namespace 'N1' begins here}}
5 #include "dummy.h" // expected-error{{import of module 'dummy' appears within namespace 'N1'}}