Files
swift-mirror/test/expr/dynamic_lookup.swift
Chris Lattner e4b6afb9ae Start moving the testsuite to the "_ = foo()" idiom for evaluating an
expression but ignoring its value.  This is the right canonical way to do
this.  NFC, just testsuite changes.



Swift SVN r28638
2015-05-15 20:15:54 +00:00

10 lines
194 B
Swift

// RUN: %target-parse-verify-swift
@objc class HasStaticProperties {
class var staticVar1: Int { return 4 }
}
func testStaticProperty(classObj: AnyObject.Type) {
_ = classObj.staticVar1
}