xref: /aosp_15_r20/external/clang/test/Modules/cxx-lookup.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: rm -rf %t
2*67e74705SXin Li // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t %s -I%S/Inputs/cxx-lookup -verify
3*67e74705SXin Li // expected-no-diagnostics
4*67e74705SXin Li namespace llvm {}
5*67e74705SXin Li #include "c2.h"
6*67e74705SXin Li llvm::GlobalValue *p;
7*67e74705SXin Li 
8*67e74705SXin Li #include "na.h"
9*67e74705SXin Li namespace N { struct foo; }
10*67e74705SXin Li #include "nb.h"
11*67e74705SXin Li N::foo *use_n_foo;
12