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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [instan1.C] - Blame information for rev 749

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

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do link  }
2
// { dg-options "-fno-implicit-templates" }
3
// Origin: Mark Mitchell 
4
 
5
template 
6
struct U {
7
  static int j;
8
};
9
 
10
template 
11
struct S {
12
  static const int i = 7;
13
};
14
 
15
template 
16
const int S::i;
17
 
18
template 
19
int U::j = S::i + 5;
20
 
21
template int U::j;
22
 
23
int main () {
24
}

powered by: WebSVN 2.1.0

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