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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [pr4926-1.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
// PR c++/4926
2
// { dg-do compile }
3
 
4
template  struct X { typedef int Type; };
5
template  struct Y { char array[1]; };
6
 
7
template Y P(T);  // acts as "Y"
8
 
9
struct F { int operator()() const; };
10
 
11
template 
12
typename X::Type  foo();
13
 
14
void
15
bar ()
16
{
17
  foo();
18
}

powered by: WebSVN 2.1.0

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