☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
scoping8.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/scoping8.C
code
plain
raw
1
// { dg-do assemble }
2
// Bug: g++ allows two different meanings of a name in the same scope.
3
4
typedef int foo; // { dg-message "declared here" }
5
struct A {
6
A (foo);
7
int foo (); // { dg-error "changes meaning" }
8
};