blob: e5a050f0f425690741f96664844b01bd0c52f86d [file] [log] [blame]
Douglas Gregor5e3f9222011-12-08 17:01:29 +00001
2// RUN: rm -rf %t
3// RUN: %clang_cc1 -Wauto-import -fmodule-cache-path %t -fauto-module-import -F %S/Inputs %s -verify
4
5// Note: transitively imports Module.Sub2.
6__import_module__ Module.Sub;
7
8int getValue() {
9 return *Module_Sub + *Module_Sub2;
10}
11