// Build don't run: // GROUPS passed templates membertemplates extern "C" int printf(const char*, ...); struct S { template operator T(); }; template S::operator T() { printf("Hello, world.\n"); return T(); } template S::operator int(); int main() { S s; int i = s.operator int(); }