☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
operator3.C
☽
☼
gcc/testsuite/g++.dg/template/operator3.C
code
plain
raw
1
// PR c++/15640
2
3
struct A {
4
void foo(void);
5
};
6
7
template <int> void bar() {
8
A a;
9
a + a.foo; // { dg-error "" }
10
}