Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto16.C
blob: e9754f3251cad611a8d17618b5618346376d6ba3 [
file
] [
log
] [
blame
]
// PR c++/40619
// { dg-do compile { target c++11 } }
template
<
typename
U
>
struct
X
{};
template
<
typename
T
>
auto
f
(
T t
)
->
X
<
decltype
(
t
+
1
)>
{}
template
<
typename
T
>
auto
g
(
T t
)
->
X
<
decltype
(
t
+
1
)>
{}