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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr41183.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/41183
2
// { dg-do compile }
3
 
4
void foo (const char *);
5
 
6
template 
7
struct A
8
{
9
  template  A (const int &, T);
10
  int i;
11
};
12
 
13
template 
14
template 
15
A::A (const int &j, T) : i(j)
16
{
17
  foo (0);
18
  foo (0);
19
  foo (__PRETTY_FUNCTION__);
20
}
21
 
22
int N;
23
 
24
struct B
25
{
26
  B ();
27
  A<&N> a;
28
};
29
 
30
B::B() : a(N, 0) {}

powered by: WebSVN 2.1.0

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