1 // Test that we won't record local declarations by default in reduced BMI.
4 // RUN: split-file %s %t
7 // RUN: %clang_cc1 -std=c++20 %t/a.cppm -emit-reduced-module-interface -o %t/a.pcm
8 // RUN: llvm-bcanalyzer --dump --disable-histogram --show-binary-blobs %t/a.pcm > %t/a.dump
9 // RUN: cat %t/a.dump | FileCheck %t/a.cppm
11 // RUN: %clang_cc1 -std=c++20 %t/b.cppm -emit-reduced-module-interface -o %t/b.pcm
12 // RUN: llvm-bcanalyzer --dump --disable-histogram --show-binary-blobs %t/b.pcm > %t/b.dump
13 // RUN: cat %t/b.dump | FileCheck %t/b.cppm
22 // Test that the variable declaration is not recorded completely.
23 // CHECK-NOT: <DECL_VAR
27 export inline int func() {
32 // Check that we still records the declaration from inline functions.