Mercurial > hg > CbC > CbC_llvm
annotate clang/test/Modules/submodules.m @ 266:00f31e85ec16 default tip
Added tag current for changeset 31d058e83c98
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Oct 2023 10:13:55 +0900 |
parents | c4bab56944e8 |
children |
rev | line source |
---|---|
150 | 1 |
2 // RUN: rm -rf %t | |
236 | 3 // RUN: %clang_cc1 -Rmodule-include-translation -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs %s -verify |
150 | 4 // expected-no-diagnostics |
5 | |
6 // Note: transitively imports Module.Sub2. | |
7 @import Module.Sub; | |
8 | |
236 | 9 int getValue(void) { |
150 | 10 return *Module_Sub + *Module_Sub2; |
11 } | |
12 |