Mercurial > hg > CbC > CbC_llvm
view clang/test/Modules/clang_module_file_info.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 | 1f2b6ac9f198 |
children |
line wrap: on
line source
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}} @import DependsOnModule; // RUN: rm -rf %t %t-obj // RUN: %clang_cc1 -w -Wunused -fmodules -fmodule-format=obj -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t-obj -F %S/Inputs -DBLARG -DWIBBLE=WOBBLE -fmodule-feature myfeature %s // RUN: %clang -module-file-info %t-obj/DependsOnModule.pcm | FileCheck %s // RUN: %clang -module-file-info %t-obj/DependsOnModule.pcm | FileCheck %s // This test is just verifying that the clang driver doesn't delete the input // file when -module-file-info is passed. We verify this by dumping the module // twice subsequently. We have other tests to verify the contents of the module // and the tool output (see: module_file_info.m) // CHECK: Generated by this Clang: // CHECK: Module name: DependsOnModule