blob: d84bae121fd8f58b1c85a42c72b2b178b193d8b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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
|