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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [spec5.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
 
3
template 
4
void f(T t1, T t2);             // { dg-message "note" }
5
 
6
template <>
7
void f(int i, int j);
8
 
9
template 
10
void g(T t1, T t2) {}           // { dg-message "note" }
11
 
12
template void g(int i, int j);
13
 
14
void h()
15
{
16
  f(3, 'c'); // { dg-error "" } no matching function
17
  // { dg-message "(candidate|deduced conflicting types)" "candidate note" { target *-*-* } 16 }
18
  g(3, 'c'); // { dg-error "" } no matching function
19
  // { dg-message "(candidate|deduced conflicting types)" "candidate note" { target *-*-* } 18 }
20
}
21
 
22
 

powered by: WebSVN 2.1.0

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