1 #include <stdio.h>
2
3 class foo {
4 public:
func(T x) const5 template <class T> T func(T x) const {
6 return x+2; //% self.expect("expr 2+3", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ["5"])
7 }
8 };
9
10 int i;
11
main()12 int main() {
13 return foo().func(i);
14 }
15