Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.mike/p10951.C

raw
1 // { dg-do assemble }
2 // prms-id: 10951
3
4 inline int m1(const int& a) {
5 return 1;
6 }
7
8 template <class T>
9 class A {
10 public:
11 typedef int st;
12
13 static int m2t() {
14 return m1(1);
15 }
16 };
17
18 A<int>::st i;
19 int m3() {
20 return A<int>::m2t();
21 }