1 // PR c++/84720 2 // { dg-do compile { target c++11 } } 3 4 template<int &&> // { dg-error "not a valid type" } 5 struct a { 6 template<typename...> ba7 static void b() { 8 b(); 9 } 10 }; 11