repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p10951.C
blob
352b1a9584291b8cffe674a0a6dc989d218e0141
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
}