// main.swift
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
// -----------------------------------------------------------------------------

private var a = 1

func doSomething(b: Int) {
	a += b //% self.expect("expr a", substrs=['Int', '= 1'])
}

doSomething(b:2)

// main.swift
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
// -----------------------------------------------------------------------------

private var a = 1

func doSomething(b: Int) {
	a += strideof(b.dynamicType) //% self.expect("expr a", substrs=['Int', '= 1'])
}

doSomething(b:2)

--- 
+++ 
@@ -13,7 +13,7 @@
 private var a = 1
 
 func doSomething(b: Int) {
-	a += strideof(b.dynamicType) //% self.expect("expr a", substrs=['Int', '= 1'])
+	a += b //% self.expect("expr a", substrs=['Int', '= 1'])
 }
 
 doSomething(b:2)
[SE-0101] Migrate from strideof(); this test does not need it
