1 // PR c++/48936
2 
3 template <bool C> int foo (void);
4 template <class T> struct S
5 {
6   static const unsigned int a = sizeof (T);
7   enum { c = sizeof (foo <(a == 0)> ()) };
8 };
9 S<int> x;
10