| 1 | // RUN: rm -rf %t |
|---|---|
| 2 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -fmodules-local-submodule-visibility -I%S/Inputs/internal-constants %s -verify |
| 3 | |
| 4 | // expected-no-diagnostics |
| 5 | #include "c.h" |
| 6 | |
| 7 | int q = h(); |
| 8 | int r = N::k; |
| 9 | |
| 10 | #include "b.h" |
| 11 | |
| 12 | int s = N::k; // FIXME: This should be ambiguous if we really want internal linkage declarations to not collide. |
| 13 |