1// PR c++/47808
2// { dg-options "" }
3
4template <typename T>
5inline T abs (T const & x) { return x; }
6
7template <typename T>
8void f (T)
9{
10  typedef int ai[(abs(0.1) > 0) ? 1 : -1];
11}
12
13int main()
14{
15  f(1);
16}
17