Mercurial > hg > CbC > CbC_llvm
comparison clang/test/Modules/empty.modulemap @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | 2e18cbf3894f |
comparison
equal
deleted
inserted
replaced
147:c2174574ed3a | 150:1d019706d866 |
---|---|
1 // RUN: rm -rf %t | |
2 // | |
3 // RUN: %clang_cc1 -fmodules -x c++ -fmodules-cache-path=%t \ | |
4 // RUN: -fno-implicit-modules \ | |
5 // RUN: -emit-module -fmodule-name=empty -o %t/base.pcm \ | |
6 // RUN: %s | |
7 // | |
8 // RUN: %clang_cc1 -fmodules -x c++ -fmodules-cache-path=%t \ | |
9 // RUN: -fno-implicit-modules \ | |
10 // RUN: -emit-module -fmodule-name=empty -o %t/check.pcm \ | |
11 // RUN: %s | |
12 // | |
13 // The module file should be identical each time we produce it. | |
14 // RUN: diff %t/base.pcm %t/check.pcm | |
15 // | |
16 // We expect an empty module to be less than 30KB (and at least 10K, for now). | |
17 // RUN: wc -c %t/base.pcm | FileCheck --check-prefix=CHECK-SIZE %s | |
18 // CHECK-SIZE: {{(^|[^0-9])[12][0-9][0-9][0-9][0-9]($|[^0-9])}} | |
19 | |
20 module empty { header "Inputs/empty.h" export * } |