blob: c6266c2bfbbe2f611a750bcc017fe04a5a06eb13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// 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;
}
|