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
Formatting fixes.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash37.C
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