1 // http://bugzilla.redhat.com/411871
4 extern "C" int printf (const char *, ...);
8 template <typename T> E (const volatile T&);
9 template <typename T> E (T&);
13 template<typename T> struct D
15 static E foo (E, ...);
16 static int foo (T, int);
19 template<typename T, typename U> struct C
22 static const int value = sizeof (D<U>::foo (ca, 0)) == sizeof (int);
43 return a.value + b.value;