bolt/deps/llvm-18.1.8/clang/test/CodeGenCXX/copy-assign-synthesis-2.cpp

5 lines
192 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s
struct A {};
A& (A::*x)(const A&) = &A::operator=;
// CHECK-LABEL: define linkonce_odr {{.*}}ptr @_ZN1AaSERKS_