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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [static1.C] - Blame information for rev 717

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/9574
2
// Origin: fche@redhat.com and bangerth@dealii.org
3
// The new parser ICE on this test and then it could
4
//  not find z in bar::bar().
5
 
6
// { dg-do compile }
7
 
8
struct X {
9
  void operator[](const int& __k);
10
};
11
struct foo {
12
  static X x;
13
};
14
struct bar {
15
  int z;
16
  bar () { foo::x[z]; }
17
};

powered by: WebSVN 2.1.0

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