☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
crash21.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/crash21.C
code
plain
raw
1
// { dg-do assemble }
2
// Origin: Gabriel Dos Reis <
[email protected]
>
3
4
struct A {
5
virtual void f(int&) const;
6
};
7
8
struct B : public A {
9
int x;
10
};
11
12
void B::f(int& t) { // { dg-error "" } undeclared method
13
x = t;
14
}