repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.benjamin
/
p13721.C
blob
960c3e0dd86b4d64212ec9985429d6b744c1cde9
1
// { dg-do assemble }
2
// prms-id: 13721
3
4
class A
5
{
6
public :
7
int a;
8
};
9
class B : public A
10
{
11
public :
12
void cmp(int a, int b) {}
13
B(int a = 0)
14
{
15
cmp(A::a, a); //should not give warning
16
}
17
};
18
int main(void)
19
{
20
return(1);
21
}