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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
 
3
// Avoid -pedantic-error default
4
// { dg-options "" }
5
 
6
// PR 19989 - dependent array of size 0 fails to compile.
7
 
8
template struct A
9
{
10
  static const int zero = 0;
11
};
12
 
13
template struct B
14
{
15
  int x[A::zero];
16
};
17
 
18
B<0> b;

powered by: WebSVN 2.1.0

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