llvm/clang/test/CodeGenCXX/wasm-reftypes-mangle.cpp

// REQUIRES: webassembly-registered-target
// RUN: %clang_cc1 %s -triple wasm32-unknown-unknown -target-feature +reference-types -emit-llvm -o - -std=c++11 | FileCheck %s
// RUN: %clang_cc1 %s -triple wasm64-unknown-unknown -target-feature +reference-types -emit-llvm -o - -std=c++11 | FileCheck %s

// CHECK: _Z2f1u11externref_t
void f1(__externref_t) {}