| 1 | // RUN: rm -rf %t |
|---|---|
| 2 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t %s -I%S/Inputs/cxx-lookup -verify |
| 3 | // expected-no-diagnostics |
| 4 | namespace llvm {} |
| 5 | #include "c2.h" |
| 6 | llvm::GlobalValue *p; |
| 7 | |
| 8 | #include "na.h" |
| 9 | namespace N { struct foo; } |
| 10 | #include "nb.h" |
| 11 | N::foo *use_n_foo; |
| 12 |