1 // PR c++/27315 2 // { dg-do compile } 3 4 template void operator+; // { dg-error "15:declaration of .operator\\+. as non-function" } 5