Debian Codegraph @

gcc/testsuite/g++.dg/template/non-dependent25.C

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>;