1 // UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
2 @import DependsOnModule;
4 // RUN: rm -rf %t %t-obj
5 // 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
6 // RUN: %clang -module-file-info %t-obj/DependsOnModule.pcm | FileCheck %s
7 // RUN: %clang -module-file-info %t-obj/DependsOnModule.pcm | FileCheck %s
9 // This test is just verifying that the clang driver doesn't delete the input
10 // file when -module-file-info is passed. We verify this by dumping the module
11 // twice subsequently. We have other tests to verify the contents of the module
12 // and the tool output (see: module_file_info.m)
14 // CHECK: Generated by this Clang:
16 // CHECK: Module name: DependsOnModule