| 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 |
// %s implies the current source file. So we can't use it directly. |
| 14 |
// RUN: [ $(stat -c%\s "%t/a.pcm") -le $(stat -c%\s "%t/a.reduced.pcm") ] |
| 15 |
|
| 16 |
export module a; |