// RUN: %swift -i %s | FileCheck %s // We were using the wrong type metadata pointer for the empty // tuple. func dup(x:T) -> (T, T) { return (x, x) } func drop(x:T) {} var x = () drop(dup(x)) println("ok") // CHECK: ok