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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [dfp/] [nofields.C] - Blame information for rev 704

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/46862
2
// { dg-do compile }
3
 
4
namespace std
5
{
6
  namespace decimal
7
  {
8
    class decimal32 { };        // { dg-error "does not have any fields" }
9
    class decimal64 { };        // { dg-error "does not have any fields" }
10
    class decimal128 { };       // { dg-error "does not have any fields" }
11
  }
12
}
13
 
14
void
15
foo (std::decimal::decimal32 x,
16
     std::decimal::decimal64 y,
17
     std::decimal::decimal128 z)
18
{
19
}

powered by: WebSVN 2.1.0

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