1 // RUN: %clang_cc1 -std=c++20 %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s
3 // internal-linkage symbol mangling is implementation defined. Let's
4 // not mangle in the module attachment -- that unnecessarily bloats
9 // CHECK-DAG: void @_ZL6addonev(
10 static void addone() {}
11 // CHECK-DAG: @_ZL1x =
15 // CHECK-DAG: void @_ZN12_GLOBAL__N_14frobEv(
17 // CHECK-DAG: @_ZN12_GLOBAL__N_11yE =
22 // CHECK-DAG: void @_ZN12_GLOBAL__N_14Bill1FEv(
26 // CHECK-DAG: void @_ZL4FrobPN12_GLOBAL__N_14BillE(
27 static void Frob(Bill *b) {
33 // CHECK-DAG: void @_ZN1NL5innerEv(
34 static void inner() {}
35 // CHECK-DAG: @_ZN1NL1zE
39 // CHECK-DAG: void @_ZW1A6addsixv(