blob: af8b74361d685820794ac65b771476692ec55f2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// This test checks that explicitly building the same module from different
// working directories results in the same PCM contents.
// RUN: rm -rf %t
// RUN: split-file %s %t
// RUN: mkdir %t/one
// RUN: mkdir %t/two
//--- module.modulemap
module M { header "M.h" }
//--- M.h
// RUN: cd %t/one && %clang_cc1 -fmodules -emit-module %t/module.modulemap -fmodule-name=M -o %t/M_one.pcm
// RUN: cd %t/two && %clang_cc1 -fmodules -emit-module %t/module.modulemap -fmodule-name=M -o %t/M_two.pcm
// RUN: diff %t/M_one.pcm %t/M_two.pcm
|