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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [complit1.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++/11063
2
// { dg-options "" }
3
 
4
class Foo
5
{
6
private:
7
  const int val_[2];
8
 
9
public:
10
  Foo(int, int);
11
};
12
 
13
Foo::Foo(int v0, int v1)
14
  : val_((int[]) {v0, v1})  // { dg-error "" "" }
15
{
16
}

powered by: WebSVN 2.1.0

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