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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [template/] [overload6.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// Copyright (C) 2005 Free Software Foundation, Inc.
2
// Contributed by Nathan Sidwell 12 Oct 2005 
3
 
4
// PR 21592:ICE
5
// Origin:  Volker Reichelt 
6
 
7
template void unique(T,T);
8
 
9
struct A
10
{
11
  int begin();
12
};
13
 
14
template void foo()
15
{
16
  unique(A().begin); // { dg-error "no matching function" "" }
17
}

powered by: WebSVN 2.1.0

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