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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [attrib31.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/35097
2
 
3
template struct A;
4
 
5
template<> struct A<0>
6
{
7
  typedef int X __attribute((aligned(4)));
8
};
9
 
10
template void foo(const A<0>::X&, T);
11
 
12
void bar()
13
{
14
  foo(A<0>::X(), 0);
15
}

powered by: WebSVN 2.1.0

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