2 // Origin: Scott Snyder <snyder@fnal.gov>
5 // ICE when accessing member with incomplete type.
7 class ACE_Null_Mutex; // { dg-error "forward declaration" }
10 struct ACE_Cleanup_Adapter
13 { return object_; } // { dg-error "invalid" }
14 TYPE object_; // { dg-error "incomplete type" }
17 template class ACE_Cleanup_Adapter<ACE_Null_Mutex>; // { dg-message "instantiated from here" }