☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
non-dependent25.C
☽
☼
gcc/testsuite/g++.dg/template/non-dependent25.C
code
plain
raw
1
// PR c++/109480
2
3
template<class T>
4
struct A {
5
void f() {
6
A<int> a;
7
const bool b = a.g(); // { dg-bogus "private" }
8
}
9
10
private:
11
bool g() const;
12
};
13
14
template struct A<int>;