4 class A; // { dg-error "forward declaration" }
6 template <typename T> struct X
8 static int f (T); // { dg-error "initializing" }
9 static const T &make ();
10 static const bool value = sizeof (f (make ())) == sizeof (int); // { dg-error "invalid use of incomplete type" }