// RUN: %target-run-simple-swift | FileCheck %s // REQUIRES: executable_test // 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)) print("ok") // CHECK: ok