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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
typedef31.C
blob
7d66e3f5b0d43703ab1fcd09e21c58eb6501d040
1
// Origin: PR c++/43558
2
// { dg-do compile }
3
4
class Compressible;
5
template <class T, class EngineTag> class Engine;
6
template <class T>
7
class Engine<T, Compressible>
8
{
9
public:
10
typedef T Element_t;
11
//Element_t read(int);
12
T read(int);
13
};
14
15
template <class T>
16
T Engine<T, Compressible>::read(int)
17
{
18
}
19
20
Engine<int, Compressible> x;
21