xref: /llvm-project/clang/test/Modules/reduced-bmi-size.cppm (revision 4caf0196c042601b1c442a5726a157fead00ecc7)
1// Ensure that the size of the reduced BMI is not larger than the full BMI
2// in the most simple case.
3
4// This test requires linux commands.
5// REQUIRES: system-linux
6
7// RUN: rm -fr %t
8// RUN: mkdir %t
9//
10// RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -o %t/a.pcm
11// RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %s -o %t/a.reduced.pcm
12//
13// RUN: %python %S/compare-file-size.py %t/a.pcm %t/a.reduced.pcm
14
15export module a;
16