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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-template12.C
blob
635af97d763c70d267232fb6049eeec88d5d261c
1
// PR c++/57568
2
// { dg-require-effective-target c++11 }
3
4
template < class T >
5
struct remove_reference
6
{ typedef int type; };
7
template < class T >
8
class X
9
{
10
enum Q { };
11
bool f ()
12
{
13
Q a;
14
[&a]{
15
typename remove_reference < decltype (a) >::type t;
16
};
17
}
18
};
19
template class X< int >;