[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / array27.C
blob95680dd15fd8eed46864f210d35edb7bb91526f0
1 // PR c++/47808
2 // { dg-options "" }
4 template <typename T>
5 inline T abs (T const & x) { return x; }
7 template <typename T>
8 void f (T)
10   typedef int ai[(abs(0.1) > 0) ? 1 : -1];
13 int main()
15   f(1);