annotate clang/test/Modules/empty.modulemap @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1f2b6ac9f198
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: rm -rf %t
anatofuz
parents:
diff changeset
2 //
anatofuz
parents:
diff changeset
3 // RUN: %clang_cc1 -fmodules -x c++ -fmodules-cache-path=%t \
anatofuz
parents:
diff changeset
4 // RUN: -fno-implicit-modules \
anatofuz
parents:
diff changeset
5 // RUN: -emit-module -fmodule-name=empty -o %t/base.pcm \
anatofuz
parents:
diff changeset
6 // RUN: %s
anatofuz
parents:
diff changeset
7 //
anatofuz
parents:
diff changeset
8 // RUN: %clang_cc1 -fmodules -x c++ -fmodules-cache-path=%t \
anatofuz
parents:
diff changeset
9 // RUN: -fno-implicit-modules \
anatofuz
parents:
diff changeset
10 // RUN: -emit-module -fmodule-name=empty -o %t/check.pcm \
anatofuz
parents:
diff changeset
11 // RUN: %s
anatofuz
parents:
diff changeset
12 //
anatofuz
parents:
diff changeset
13 // The module file should be identical each time we produce it.
anatofuz
parents:
diff changeset
14 // RUN: diff %t/base.pcm %t/check.pcm
anatofuz
parents:
diff changeset
15 //
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
16 // We expect an empty module to be less than 60KB (and at least 10K, for now).
150
anatofuz
parents:
diff changeset
17 // RUN: wc -c %t/base.pcm | FileCheck --check-prefix=CHECK-SIZE %s
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
18 // CHECK-SIZE: {{(^|[^0-9])[1-5][0-9][0-9][0-9][0-9]($|[^0-9])}}
150
anatofuz
parents:
diff changeset
19
anatofuz
parents:
diff changeset
20 module empty { header "Inputs/empty.h" export * }