[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / clang / test / CoverageMapping / default-method.cpp
blobbeaac0db2fc78d26b63e8ebb6ecfb8faa7c5d1f8
1 // 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="->"
3 namespace PR39822 {
4 struct unique_ptr {
5 unique_ptr &operator=(unique_ptr &);
6 };
8 class foo {
9 foo &operator=(foo &);
10 unique_ptr convertable_values_[2];
13 // CHECK: _ZN7PR398223fooaSERS0_:
14 // CHECK-NEXT: File 0, [[@LINE+1]]:28 -> [[@LINE+1]]:29 = #0
15 foo &foo::operator=(foo &) = default;
16 } // namespace PR39822