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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [warn/] [Wdtor1.C] - Blame information for rev 856

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/20145
2
// { dg-options "-Wnon-virtual-dtor" }
3
# 1 "t.cc"
4
# 1 ""
5
# 1 ""
6
# 1 "t.cc"
7
# 1 "include/t.h" 1 3 4
8
// Declare the template with explicit C++ linkage in case system
9
// headers have implicit C linkage.
10
extern "C++" {
11
template  class t
12
{
13
  virtual void f();
14
};
15
}
16
# 2 "t.cc" 2
17
 
18
void f(void)
19
{
20
  t<1> h;
21
}
22
 

powered by: WebSVN 2.1.0

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