OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [debug/] [dwarf2/] [pr44641.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// Origin: PR 44641
2
// { dg-do compile }
3
// { dg-options "-g -O0 -dA" }
4
 
5
template  struct MisplacedDbg;
6
template struct MisplacedDbg;
7
struct Full;
8
template<> struct MisplacedDbg;
9
 
10
struct Arg;
11
typedef MisplacedDbg Typedef1;
12
typedef MisplacedDbg Typedef2;
13
typedef MisplacedDbg Typedef3;
14
 
15
template struct Base  {
16
  int i;
17
  virtual ~Base() {
18
  }
19
};
20
 
21
template <>
22
struct MisplacedDbg  // { dg-function-on-line {_ZN12MisplacedDbgI4FullEC[12]Ev} }
23
                           // { dg-function-on-line {_ZN12MisplacedDbgI4FullED0Ev} { target *-*-* } 22 }
24
 
25
    : public Base {
26
};
27
 
28
template 
29
struct MisplacedDbg  // { dg-function-on-line {_ZN12MisplacedDbgIP3ArgEC[12]Ev} }
30
                         // { dg-function-on-line {_ZN12MisplacedDbgIP3ArgED0Ev} { target *-*-* } 29 }
31
    : public Base {
32
};
33
 
34
template 
35
struct MisplacedDbg  // { dg-function-on-line {_ZN12MisplacedDbgI3ArgEC[12]Ev} }
36
                     // { dg-function-on-line {_ZN12MisplacedDbgI3ArgED0Ev} { target *-*-* } 35 }
37
    : public Base {
38
};
39
 
40
static MisplacedDbg static_var1;
41
static MisplacedDbg static_var2;
42
static MisplacedDbg static_var3;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.