xref: /aosp_15_r20/external/clang/test/CodeGenCXX/copy-assign-synthesis-2.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s
2 struct A {};
3 A& (A::*x)(const A&) = &A::operator=;
4 // CHECK-LABEL: define linkonce_odr {{.*}}%struct.A* @_ZN1AaSERKS_
5