blob: 5fe83d2a584b28bfb999d91d0926184b48aa03b0 [file] [log] [blame]
Douglas Gregore209e502011-12-06 01:10:29 +00001// RUN: rm -rf %t
Douglas Gregorc514a8a2012-01-03 15:21:29 +00002// RUN: %clang_cc1 -x objective-c -Wauto-import -fmodule-cache-path %t -fmodules -F %S/Inputs %s -verify
Douglas Gregore209e502011-12-06 01:10:29 +00003
4__import_module__ Module.Sub;
5
6void test_Module_Sub() {
7 int *ip = Module_Sub;
8}
9
10__import_module__ Module.Buried.Treasure;
11
12void dig() {
13 unsigned *up = Buried_Treasure;
14}
15