aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/submodules.m
blob: 908a4785e8e4063a6fe1e5770f179bc21be0d74d (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: rm -rf %t
// RUN: %clang_cc1 -Wauto-import -fmodule-cache-path %t -fmodules -F %S/Inputs %s -verify

// Note: transitively imports Module.Sub2.
@import Module.Sub;

int getValue() { 
  return *Module_Sub + *Module_Sub2;
}