Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto32.C
blob: 2aad34e40ac8e2db9fc13d756dcf6f6be3b65c6c [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// { dg-final { scan-assembler "_Z1fIiEDTnw_Dapifp_EET_" } }
template
<
class
T
>
auto
f
(
T t
)
->
decltype
(
new
auto
(
t
));
int
main
()
{
f
(
1
);
}