1 | // RUN: %clang_cc1 -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="->" |
2 | |
3 | namespace PR39822 { |
4 | struct unique_ptr { |
5 | unique_ptr &operator=(unique_ptr &); |
6 | }; |
7 | |
8 | class foo { |
9 | foo &operator=(foo &); |
10 | unique_ptr convertable_values_[2]; |
11 | }; |
12 | |
13 | // CHECK: _ZN7PR398223fooaSERS0_: |
14 | // CHECK-NEXT: File 0, [[@LINE+1]]:28 -> [[@LINE+1]]:29 = #0 |
15 | foo &foo::operator=(foo &) = default; |
16 | } // namespace PR39822 |
17 | |
18 | |