blob: b06730f198386239c40c74a1220ffcd819f34bab [file] [log] [blame]
// RUN: %target-run-simple-swift | FileCheck %s
// REQUIRES: executable_test
// rdar://16726530
// REQUIRES: objc_interop
import Foundation
// Test overlain variadic methods.
let expression = NSExpression(format: "(3 + 2)**2", "LLLL", "BBBB")
let result = expression.expressionValue(with: expression, context:nil) as! NSNumber
let number = result.stringValue
print(number)
// CHECK: 25