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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do assemble  }
2
//
3
// Copyright (C) 2000 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 9 Aug 2000 
5
 
6
// bugs 173, 174 & 406 all ICE'd due to Koenig lookup involving
7
// typename T::t.
8
 
9
struct A
10
{
11
  typedef int type;
12
};
13
 
14
template void same_key (T, typename T::type);
15
 
16
template  void foo (T *, void (*) (T, int));
17
 
18
void baz (A *ptr)
19
{
20
  foo (ptr, same_key);
21
}

powered by: WebSVN 2.1.0

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