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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [ptrmem4.C] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 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-message "queryAliases|no known conversion" }
10
 
11
struct SpyExample
12
{
13
  void ready();
14
  void inputs();
15
};
16
 
17
void SpyExample::ready()
18
{
19
  queryAliases(inputs); // { dg-error "matching|unresolved" }
20
}

powered by: WebSVN 2.1.0

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