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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [dfp/] [base.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++/50207
2
// { dg-do compile }
3
 
4
namespace std
5
{
6
  namespace decimal
7
  {
8
    template  struct _FmtTraits;
9
    class decimal32;
10
    template <> struct _FmtTraits 
11
    {
12
      static const long _NumBytes = 4UL;
13
    };
14
    template  class _DecBase
15
    {
16
      unsigned char _Bytes[_Tr::_NumBytes];
17
    };
18
    class decimal32 : public _DecBase <_FmtTraits  >        // { dg-error "has base" }
19
    {
20
      decimal32 () { }
21
    };
22
  }
23
}

powered by: WebSVN 2.1.0

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