Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
)>
{}