xref: /llvm-project/clang/test/Modules/misplaced-3.cpp (revision c4e04a29640335082eec854bbfdcf3d3a1f897c3)
1*c4e04a29SSerge Pavlov // RUN: rm -rf %t
2*c4e04a29SSerge Pavlov // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify
3*c4e04a29SSerge Pavlov 
4*c4e04a29SSerge Pavlov class C1 {  // expected-note{{'C1' begins here}}
5*c4e04a29SSerge Pavlov #include "dummy.h"  // expected-error{{import of module 'dummy' appears within 'C1'}}
6*c4e04a29SSerge Pavlov }
7