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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20100519-1_0.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-lto-do link }
2
 
3
template 
4
struct DirectSerializationTraits
5
{
6
  static void fromCountToDirectBytes(const Ordinal count) {}
7
};
8
template class SerializationTraits
9
  : public DirectSerializationTraits { };
10
template 
11
class ConstValueTypeSerializationBuffer
12
{
13
public:
14
    ConstValueTypeSerializationBuffer(const Ordinal count)
15
      {
16
        typedef SerializationTraits SerT;
17
        SerT::fromCountToDirectBytes(count);
18
      }
19
};
20
int main ()
21
{
22
  ConstValueTypeSerializationBuffer charSendBuffer(1);
23
}

powered by: WebSVN 2.1.0

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