[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / PCH / pch-wasm.c
blobc8df80a9fa5fbc3583e52e8cd6c7221c195eae20
1 // REQUIRES: webassembly-registered-target
2 // RUN: %clang_cc1 -triple wasm32-unknown-unknown-wasm -emit-pch -fmodule-format=obj %S/pchpch1.h -o - | llvm-objdump --section-headers - | FileCheck %s
4 // Ensure that clangast section should be emitted in a section for wasm object file
6 // CHECK: file format wasm
7 // CHECK: __clangast {{[0-9a-f]+}} {{[0-9a-f]+}}