Douglas Gregor | e209e50 | 2011-12-06 01:10:29 +0000 | [diff] [blame^] | 1 | // RUN: rm -rf %t |
2 | // RUN: %clang_cc1 -x objective-c -Wauto-import -fmodule-cache-path %t -fauto-module-import -F %S/Inputs %s -verify | ||||
3 | |||||
4 | __import_module__ Module.Sub; | ||||
5 | |||||
6 | void test_Module_Sub() { | ||||
7 | int *ip = Module_Sub; | ||||
8 | } | ||||
9 | |||||
10 | __import_module__ Module.Buried.Treasure; | ||||
11 | |||||
12 | void dig() { | ||||
13 | unsigned *up = Buried_Treasure; | ||||
14 | } | ||||
15 |