1*f4a2713aSLionel Sambuc// RUN: rm -rf %t 2*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -x objective-c -Wauto-import -fmodules-cache-path=%t -fmodules -F %S/Inputs %s -verify 3*f4a2713aSLionel Sambuc// expected-no-diagnostics 4*f4a2713aSLionel Sambuc 5*f4a2713aSLionel Sambuc@import Module.Sub; 6*f4a2713aSLionel Sambuc 7*f4a2713aSLionel Sambucvoid test_Module_Sub() { 8*f4a2713aSLionel Sambuc int *ip = Module_Sub; 9*f4a2713aSLionel Sambuc} 10*f4a2713aSLionel Sambuc 11*f4a2713aSLionel Sambuc@import Module.Buried.Treasure; 12*f4a2713aSLionel Sambuc 13*f4a2713aSLionel Sambucvoid dig() { 14*f4a2713aSLionel Sambuc unsigned *up = Buried_Treasure; 15*f4a2713aSLionel Sambuc} 16*f4a2713aSLionel Sambuc 17