summaryrefslogtreecommitdiff
path: root/clang/test/Modules/inferred-submodules.m
blob: bee1cec98e4442c3fd35842b80d2318d0f61234b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: rm -rf %t
// RUN: %clang_cc1 -x objective-c -Wauto-import -fmodule-cache-path %t -fmodules -F %S/Inputs %s -verify

@__experimental_modules_import Module.Sub;

void test_Module_Sub() {
  int *ip = Module_Sub;
}

@__experimental_modules_import Module.Buried.Treasure;

void dig() {
  unsigned *up = Buried_Treasure;
}