// PR c++/97993 // { dg-do compile { target c++14 } } template T a; template auto foo (); struct S decltype (foo ); // { dg-error "" }