[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / g++.dg / debug / dwarf2 / ref-4.C
blob00cf81f4bcc919f17d48152cf6594349438fe009
1 // { dg-do compile { target c++11 } }
2 // { dg-options "-g -gno-strict-dwarf -dA" }
3 // { dg-final { scan-assembler-times "DIE \\(\[^\n\]*\\) DW_TAG_typedef" 2 { xfail *-*-aix* } } }
4 // { dg-final { scan-assembler-times "DIE \\(\[^\n\]*\\) DW_TAG_ptr_to_member_type" 2 { xfail *-*-aix* } } }
5 // { dg-final { scan-assembler-times "DIE \\(\[^\n\]*\\) DW_TAG_subroutine_type" 1 { xfail *-*-aix* } } }
7 struct A { void foo (); int a; };
8 typedef void (A::*PMF) ();
9 typedef int A::*PMI;
10 PMF pmf;
11 PMI pmi;