tests: fix tests not to overflow an Int on 32-bit platforms

Swift SVN r24786
This commit is contained in:
Dmitri Hrybenko
2015-01-28 05:22:40 +00:00
parent 9b145ba8e8
commit 363a953de0
3 changed files with 8 additions and 8 deletions

View File

@@ -1,13 +1,13 @@
// RUN: %target-swift-frontend %s -emit-ir -g -o - | FileCheck %s
protocol AProtocol {
func print()
func print()
}
class AClass : AProtocol {
var x : Int
init() { x = 0xDEADBEEF }
func print() { println("x = \(x)")}
var x: UInt32
init() { x = 0xDEADBEEF }
func print() { println("x = \(x)")}
}
// CHECK: define hidden void @_TF17ProtocolContainer3foo
// CHECK-NEXT: entry: