// { dg-options "-std=gnu++0x" } template struct array { int foo(); }; template struct array { int bar(); }; template int array::foo() { } template int array::bar() { }