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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [enum4.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++/37389
2
// { dg-do compile }
3
// { dg-options "-std=gnu++98" }
4
 
5
enum
6
{
7
  A = 9223372036854775807ULL * 2 + 1,
8
  B = B0,       // { dg-error "was not declared|overflow" }
9
  C = C0        // { dg-error "was not declared" }
10
};

powered by: WebSVN 2.1.0

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