OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/20669
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
static1.C
1
// { dg-do run }
2
extern "C" void abort();
3
4
template <class T>
5
class A
6
{
7
public:
8
static int foo(int);
9
};
10
11
template <>
12
int A<int>::foo(int i)
13
{
14
return i;
15
}
16
17
18
int main()
19
{
20
if (A<int>::foo(22) != 22)
21
abort();
22
}