// Build don't run: // GROUPS passed templates // Special g++ Options: -ansi -pedantic-errors -w template struct S { template static double foo(U u) { return (double) u; } }; int main() { double d = S::template foo(3.3); return (d >= 3.1); }