blob: 44b6746a4aff33aae4a7c2ee7236584d5ea63f23 [file] [log] [blame]
Douglas Gregord620a842011-12-06 17:16:41 +00001// RUN: rm -rf %t
2// RUN: %clang_cc1 -Wauto-import -fmodule-cache-path %t -fauto-module-import -F %S/Inputs %s -verify
3
4__import_module__ DependsOnModule;
5
6void testSubFramework() {
7 float *sf1 = sub_framework; // expected-error{{use of undeclared identifier 'sub_framework'}}
8}
9
10__import_module__ DependsOnModule.SubFramework;
11
12void testSubFrameworkAgain() {
13 float *sf2 = sub_framework;
14 double *sfo1 = sub_framework_other;
15}
16