| 1 | // RUN: rm -rf %t |
|---|---|
| 2 | // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fmodules-local-submodule-visibility \ |
| 3 | // RUN: -fmodule-map-file=%S/Inputs/anon-redecl/module.modulemap \ |
| 4 | // RUN: -I%S/Inputs/anon-redecl \ |
| 5 | // RUN: -verify -std=c++11 %s |
| 6 | |
| 7 | #include "a.h" |
| 8 | #include "b.h" |
| 9 | #include "c1.h" |
| 10 | #include "c2.h" |
| 11 | |
| 12 | // expected-no-diagnostics |
| 13 | int x = a({}); |
| 14 | int y = b({}); |
| 15 | int z = c({}); |
| 16 |