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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [ptrmem4.C] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do compile }
2
 
3
// Origin: Scott Snyder 
4
 
5
// PR c++/8849
6
// Pointer to member function template argument deduction ICE.
7
 
8
 
9
template  void queryAliases(CONT& fill_me); // { dg-error "candidates" }
10
 
11
struct SpyExample
12
{
13
  void ready();
14
  void inputs();
15
};
16
 
17
void SpyExample::ready()
18
{
19
  queryAliases(inputs); // { dg-error "" }
20
}

powered by: WebSVN 2.1.0

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