Sign in
chromium
/
native_client
/
nacl-toolchain
/
gcc-4.4.3
/
.
/
gcc
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto15.C
blob: b23e1e2fd6fd5bc91258a796be22d625fb7182c5 [
file
] [
log
] [
blame
]
// { dg-options "-std=c++0x" }
template
<
typename
Fn
>
struct
function
;
template
<
typename
Result
,
typename
...
ArgTypes
>
struct
function
<
auto
(
ArgTypes
...)->
Result
>
{
};
int
main
()
{
function
<
auto
(
double
)->
int
>
y
;
return
0
;
}