Richard Smith | bb853c7 | 2014-08-13 01:23:33 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
Richard Smith | 47972af | 2015-06-16 00:08:24 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t %s -I%S/Inputs/cxx-lookup -verify |
Richard Smith | bb853c7 | 2014-08-13 01:23:33 +0000 | [diff] [blame] | 3 | // expected-no-diagnostics |
| 4 | namespace llvm {} |
| 5 | #include "c2.h" |
| 6 | llvm::GlobalValue *p; |
Richard Smith | e8292b1 | 2015-02-10 03:28:10 +0000 | [diff] [blame] | 7 | |
| 8 | #include "na.h" |
| 9 | namespace N { struct foo; } |
| 10 | #include "nb.h" |
| 11 | N::foo *use_n_foo; |