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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [typename5.C] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do assemble  }
2
// { dg-options "-Wno-deprecated" }
3
 
4
template 
5
struct A
6
{
7
  typedef T A_Type;
8
};
9
 
10
 
11
template 
12
struct B : public A
13
{
14
};
15
 
16
 
17
template 
18
struct C : public B
19
{
20
  void Func(A_Type);  // { dg-warning "" } implicit typename
21
};
22
 
23
 
24
template 
25
void C::Func(A_Type) { // { dg-warning "" } implicit typename
26
}

powered by: WebSVN 2.1.0

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