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