Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/debug/dwarf2/refqual-1.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// { dg-do compile } // { dg-options "-O -std=c++11 -g -dA -gno-strict-dwarf" } // { dg-final { scan-assembler-times "DIE \\(\[^\n\]*\\) DW_TAG_ptr_to_member_type" 1 { xfail { powerpc-ibm-aix* } } } } // { dg-final { scan-assembler-times " DW_AT_reference" 2 { xfail { powerpc-ibm-aix* } } } } // { dg-final { scan-assembler-not " DW_AT_use_location" } } /* It is not clear what if anything we should output for DW_AT_use_location in a pointer to member function, so we don't output it for now. */ struct S { void mf(void) &; }; void S::mf() & {} typedef void (S::*pmft)(void) &; pmft pmf = &S::mf;