1*9caa3fbeSZequan Wu // RUN: %clang_cc1 -mllvm -emptyline-comment-coverage=false -triple %itanium_abi_triple -std=c++17 -fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name default-method.cpp -w %s | FileCheck %s -implicit-check-not="->" 27225a261SVedant Kumar 37225a261SVedant Kumar namespace PR39822 { 47225a261SVedant Kumar struct unique_ptr { 57225a261SVedant Kumar unique_ptr &operator=(unique_ptr &); 67225a261SVedant Kumar }; 77225a261SVedant Kumar 87225a261SVedant Kumar class foo { 97225a261SVedant Kumar foo &operator=(foo &); 107225a261SVedant Kumar unique_ptr convertable_values_[2]; 117225a261SVedant Kumar }; 127225a261SVedant Kumar 137225a261SVedant Kumar // CHECK: _ZN7PR398223fooaSERS0_: 147225a261SVedant Kumar // CHECK-NEXT: File 0, [[@LINE+1]]:28 -> [[@LINE+1]]:29 = #0 157225a261SVedant Kumar foo &foo::operator=(foo &) = default; 167225a261SVedant Kumar } // namespace PR39822 177225a261SVedant Kumar 18