blob: f3bf9a24b04289da14c75a7baec538e748ced432 [file] [log] [blame]
// PR c++/85279
// { dg-do compile { target c++11 } }
template<typename T> struct A
{
void foo(decltype(T())::Y); // { dg-error "decltype\\(T\\(\\)\\)::Y" "" { target c++17_down } }
};