Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
7af1e530468a03dd5bbe86a4351b507477006db9
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
regress
/
array1.C
blob: 629ab4103f58c3da60ab484ec73a5fd58fedc8ca [
file
] [
log
] [
blame
]
// PR c++/47808
// { dg-options -std=c++0x }
template
<
typename
T
>
inline
T abs
(
T
const
&
x
)
{
return
x
;
}
template
<
typename
T
>
void
f
(
T
)
{
typedef
int
ai
[(
abs
(
0.1
)
>
0
)
?
1
:
-
1
];
}
int
main
()
{
f
(
1
);
}