1 // PR c++/70822 2 // { dg-do compile { target c++14 } } 3 4 struct a 5 { 6 static int b; 7 }; 8 9 template <typename> 10 void foo()11 foo () 12 { 13 &(a::b); 14 } 15