3 // { dg-options "-g -O0 -dA" }
5 template <class A> struct MisplacedDbg;
6 template<class T> struct MisplacedDbg<T*>;
8 template<> struct MisplacedDbg<Full>;
11 typedef MisplacedDbg<Arg> Typedef1;
12 typedef MisplacedDbg<Arg*> Typedef2;
13 typedef MisplacedDbg<Full> Typedef3;
15 template<typename T> struct Base {
21 struct MisplacedDbg<Full> // { dg-function-on-line {_ZN12MisplacedDbgI4FullEC[12]Ev} }
22 // { dg-function-on-line {_ZN12MisplacedDbgI4FullED0Ev} { target *-*-* } 21 }
28 struct MisplacedDbg<T*> // { dg-function-on-line {_ZN12MisplacedDbgIP3ArgEC[12]Ev} }
29 // { dg-function-on-line {_ZN12MisplacedDbgIP3ArgED0Ev} { target *-*-* } 28 }
34 struct MisplacedDbg // { dg-function-on-line {_ZN12MisplacedDbgI3ArgEC[12]Ev} }
35 // { dg-function-on-line {_ZN12MisplacedDbgI3ArgED0Ev} { target *-*-* } 34 }
39 static MisplacedDbg<Arg> static_var1;
40 static MisplacedDbg<Arg*> static_var2;
41 static MisplacedDbg<Full> static_var3;