☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Woverflow-4.C
☽
☼
gcc/testsuite/g++.dg/warn/Woverflow-4.C
code
plain
raw
1
// PR c++/51151
2
// { dg-options "-Wshadow" }
3
4
template<typename T> 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<int>;