aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Modules/reduced-bmi-size.cppm
blob: 6e3323266561e845f57ae45e705a9cee43c25d3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Ensure that the size of the reduced BMI is not larger than the full BMI
// in the most simple case. 

// This test requires linux commands.
// REQUIRES: system-linux

// RUN: rm -fr %t
// RUN: mkdir %t
//
// RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -o %t/a.pcm
// RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %s -o %t/a.reduced.pcm
//
// RUN: %python %S/compare-file-size.py %t/a.pcm %t/a.reduced.pcm

export module a;