func anyFunc<T>(_ closure: @autoclosure () -> T) { let result: T = closure() // TODO: Do something with result? } anyFunc(print("hello"))