blob: 840255cbea99b3ece352906af9168ec52503f1ca [file] [log] [blame]
// PR c++/22405
template <typename T> void foo(T &arg) { // { dg-message "declared" }
arg+=1;
}
template <typename T> void foo(T &arg) { // { dg-error "redefinition" }
arg+=2;
}
template void foo(float &arg);