// Contributed by Iain Sandoe , December 2014. */ // { dg-do compile } // { dg-options "-std=c++11" } template Function thing(Function fn, int a) { fn(a); return fn; } int test (int *arr, unsigned n) { int total = 0; for (unsigned i=0; i