// { dg-do compile { target c++11 } } // PR c++/33838 template struct A { __decltype (T* foo()); // { dg-error "expected|no arguments|accept" } };