Mercurial > hg > CbC > CbC_llvm
comparison clang/test/Modules/submodules.m @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | c4bab56944e8 |
comparison
equal
deleted
inserted
replaced
147:c2174574ed3a | 150:1d019706d866 |
---|---|
1 | |
2 // RUN: rm -rf %t | |
3 // RUN: %clang_cc1 -Wauto-import -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs %s -verify | |
4 // expected-no-diagnostics | |
5 | |
6 // Note: transitively imports Module.Sub2. | |
7 @import Module.Sub; | |
8 | |
9 int getValue() { | |
10 return *Module_Sub + *Module_Sub2; | |
11 } | |
12 |