// { dg-do compile { target c++11 } } template struct array { int foo(); }; template struct array { int bar(); }; template int array::foo() { } template int array::bar() { }