3 // { dg-options "-g -O2" }
5 template <typename> struct A;
6 template <typename T> struct A <T *>
10 template <typename T, typename> struct B
13 typedef typename t::ref ref;
14 ref operator * () { return ref (); }
16 template <typename T> struct I
19 template <typename T1> struct J
24 template <typename T> struct S : public I <T>
27 template <typename T, typename _A> struct E
29 typedef typename _A::template J <T>::other at;
31 template <typename T, typename _A = S <T> > struct D
33 typedef E <T, _A> _Base;
34 typedef typename _Base::at at;
35 typedef typename at::cp cp;
38 template <class T> struct F
40 T *operator -> () { return __null; }
42 template <typename T> long
45 return static_cast <long>(x) - (x && x != static_cast <long>(x));
47 template <typename T> long
50 return lfloor (x - 0.5) + 1;
53 template <typename> class P;
55 template <typename> struct P
65 void foo (const CV &) const;
77 S2 (int x = 0, int y = 0, int s = 0, int t = 0) : sx (x, y), sy (s, t) {}
79 template <typename> struct N
89 float t = 0.5 * (o.bar ());
90 S2 (lround (c.x ()), t);
94 C::foo (const CV &w) const