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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [warn/] [Woverflow-4.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/51151
2
// { dg-options "-Wshadow" }
3
 
4
template class C {
5
public:
6
  void f() {
7
    m = c2 + 1;
8
  }
9
  static const long unsigned int c1 = 7;
10
  static const int c2 = c1 - 1;
11
  int m;
12
};
13
template class C;

powered by: WebSVN 2.1.0

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