| 1 | |
|---|---|
| 2 | // RUN: rm -rf %t |
| 3 | // RUN: %clang_cc1 -Wauto-import -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs %s -verify |
| 4 | // expected-no-diagnostics |
| 5 | |
| 6 | // Note: transitively imports Module.Sub2. |
| 7 | @import Module.Sub; |
| 8 | |
| 9 | int getValue() { |
| 10 | return *Module_Sub + *Module_Sub2; |
| 11 | } |
| 12 | |
| 13 |