8 lines · c
1// REQUIRES: webassembly-registered-target2// RUN: %clang_cc1 -triple wasm32-unknown-unknown-wasm -emit-pch -fmodule-format=obj %S/pchpch1.h -o - | llvm-objdump --section-headers - | FileCheck %s3 4// Ensure that clangast section should be emitted in a section for wasm object file5 6// CHECK: file format wasm7// CHECK: __clangast {{[0-9a-f]+}} {{[0-9a-f]+}}8