// RUN: %target-build-swift %S/Inputs/ObjcSuperClass.swift %s -module-name a -emit-ir 2>&1 | FileCheck %s

// REQUIRES: objc_interop

// CHECK: @_TWvdvC1a12ObjCSubclass5fieldSi = global i{{[0-9]+}}
// CHECK: @_TWvdvC1a12ObjCSubclass5fieldSi = external global i{{[0-9]+}}

func test(o: ObjCSubclass) {
  o.field = 10
}

// RUN: %target-build-swift %S/Inputs/ObjcSuperClass.swift %s -module-name a -emit-ir 2>&1 | FileCheck %s

// REQUIRES: objc_interop

// CHECK: @_TWvdvC1a12ObjCSubclass5fieldSi = global i64 16
// CHECK: @_TWvdvC1a12ObjCSubclass5fieldSi = external global i64

func test(o: ObjCSubclass) {
  o.field = 10
}

--- 
+++ 
@@ -2,8 +2,8 @@
 
 // REQUIRES: objc_interop
 
-// CHECK: @_TWvdvC1a12ObjCSubclass5fieldSi = global i64 16
-// CHECK: @_TWvdvC1a12ObjCSubclass5fieldSi = external global i64
+// CHECK: @_TWvdvC1a12ObjCSubclass5fieldSi = global i{{[0-9]+}}
+// CHECK: @_TWvdvC1a12ObjCSubclass5fieldSi = external global i{{[0-9]+}}
 
 func test(o: ObjCSubclass) {
   o.field = 10
Fix test case for 32 bit

Swift SVN r28888
