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
Remove an unneeded include that was added by mistake.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto15.C
blob
ca5758ddf2e314ac443e8d8d8ef08c958c8deb28
1
// { dg-do compile { target c++11 } }
2
3
template< typename Fn > struct function;
4
5
template< typename Result, typename ... ArgTypes >
6
struct function< auto (ArgTypes...)->Result > {
7
};
8
9
int main()
10
{
11
function< auto(double)->int > y;
12
return 0;
13
}