[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / nontype23.C
blobdfda4fe2e595b1ece8112587e387e324c6820ece
1 // PR c++/48936
3 template <bool C> int foo (void);
4 template <class T> struct S
6   static const unsigned int a = sizeof (T);
7   enum { c = sizeof (foo <(a == 0)> ()) };
8 };
9 S<int> x;