1 // PR c++/57253 2 // { dg-require-effective-target c++11 } 3 4 template<typename T> struct foo; 5 6 template<> struct foo<void()&> {}; 7 template<> struct foo<void()> {}; 8 9 int main() 10 {} 11