aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/empty.modulemap
blob: ef1d4a80ecfc12e9f9a86935aeeabf2aff880ff5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: rm -rf %t
//
// RUN: %clang_cc1 -fmodules -x c++ -fmodules-cache-path=%t \
// RUN:   -fno-implicit-modules -fno-modules-implicit-maps \
// RUN:   -emit-module -fmodule-name=empty -o %t/base.pcm \
// RUN:   %s
//
// RUN: %clang_cc1 -fmodules -x c++ -fmodules-cache-path=%t \
// RUN:   -fno-implicit-modules -fno-modules-implicit-maps \
// RUN:   -emit-module -fmodule-name=empty -o %t/check.pcm \
// RUN:   %s
//
// RUN: diff %t/base.pcm %t/check.pcm

module empty { header "Inputs/empty.h" export * }