(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
pr33839.C
// { dg-do compile { target c++11 } }
template<int> struct A;

void foo()
{
  __decltype A<0>; // { dg-error "invalid declarator|expected" }
  __decltype (A<0>); // { dg-error "must be an expression" }
}