Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
7af1e530468a03dd5bbe86a4351b507477006db9
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
regress
/
non-const1.C
blob: 7fc66a7ae81ddde756cd1eebb6d3986154b3b0b0 [
file
] [
log
] [
blame
]
// PR c++/48015
// { dg-options -std=c++0x }
template
<
typename
T
>
T f
(
T
);
template
<
typename
T
>
void
g
()
{
int
const
c
=
f
(
1
);
int
i
=
c
-
0
;
}