#include class foo { public: template T func(T x) const { return x+2; //% self.expect("expr 2+3", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ["5"]) } }; int i; int main() { return foo().func(i); }