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
Add execution tests of ARM EXT intrinsics
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto33.C
blob
dade5a8ba2554df7832fe6587ea660a686b13949
1
// PR c++/53484
2
// { dg-do compile { target c++11 } }
3
4
template<class T,class U> struct ST;
5
template<class T> struct ST<T,T> {};
6
7
template <class T>
8
void f(T x){
9
[&]{
10
auto y = x;
11
ST<decltype(y),int>();
12
}();
13
}
14
15
int main(){ f(0); }