aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/copy-assign-synthesis-2.cpp
blob: 0bc7d3d6529fbd3094e87b10fcb9ba9819e6cf78 (plain) (blame)
1
2
3
4
// 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 {{.*}}%struct.A* @_ZN1AaSERKS_