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++.pt
/
crash37.C
blob
c07ccd591515476e284c92722334668c5beac32f
1
// { dg-do assemble }
2
// Origin: Jens Maurer <jmaurer@menuett.rhein-main.de>
3
4
template<class T, void (T::*f)(int)>
5
class C { };
6
7
template<class T>
8
C<T, &T::output> call(T& obj)
9
{ return C<T, &T::output>();
10
}
11
12
class Test {
13
public:
14
void output(int);
15
};
16
17
void sub()
18
{
19
Test t;
20
call(t);
21
}
22