blob: c6266c2bfbbe2f611a750bcc017fe04a5a06eb13 [file] [log] [blame]
// PR c++/84098
// { dg-do compile { target c++17 } }
struct A{};
template < typename >
struct Test{
static constexpr auto var = []{};
};
int main(){
(void)Test< A >::var;
}