Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: test/mac/swift/MySwiftClass.swift

Issue 1160773005: Support for Swift language and Clang modules for ninja generator. Base URL: https://chromium.googlesource.com/external/gyp@master
Patch Set: Fixed rare build failure when compiling with modules for multiple archs Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mac/swift/MySecondSwiftClass.swift ('k') | test/mac/swift/MySwiftTest.swift » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mac/swift/MySwiftClass.swift
diff --git a/test/mac/swift/MySwiftClass.swift b/test/mac/swift/MySwiftClass.swift
new file mode 100644
index 0000000000000000000000000000000000000000..6229a9e97f62362a6df52e5f3e9905f4c5f46afc
--- /dev/null
+++ b/test/mac/swift/MySwiftClass.swift
@@ -0,0 +1,11 @@
+import Foundation
+
+public class MySwiftClass : NSObject {
+ public override init() {
+ objcField = MyObjcClass()
+ swiftField = MySecondSwiftClass()
+ }
+ public var intField: Int = 0
+ var objcField: MyObjcClass
+ var swiftField: MySecondSwiftClass
+}
« no previous file with comments | « test/mac/swift/MySecondSwiftClass.swift ('k') | test/mac/swift/MySwiftTest.swift » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698