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
i386: Allow all register_operand SUBREGs in x86_ternlog_idx.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit64.C
blob
63a05f66da880860e7fa54a98aa81d1d226702f8
1
// { dg-do run }
2
extern "C" void abort ();
3
4
template <class T> void f ()
5
{
6
abort ();
7
}
8
9
template <> void f<char> ()
10
{
11
}
12
13
template <class T> class C
14
{
15
friend void f<char> ();
16
public:
17
void ff () { f<char> (); }
18
};
19
20
int main ()
21
{
22
C<int> c;
23
c.ff();
24
}