Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr50901.C
blob: de82435a43969dae4a173721a65ec62ffc038cf8 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
class
T
>
int
foo
(
int
a
)
{
const
unsigned
b
=
a
<
0
?
-
a
:
a
;
return
0
;
}
int
i
=
foo
<float>
(
1
);