Add an example script

This commit is contained in:
Keith Smiley
2014-06-13 11:45:22 -07:00
parent c263b691a1
commit 79390292ac

23
example/example.swift Normal file
View File

@@ -0,0 +1,23 @@
#!/Applications/Xcode6-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -i
// This is a comment
let foo = 5 // another comment
/* this is also a comment */
/* this is
a multi-line
comment
*/
"this is a string"
"this is a string\" with an escaped quote"
// TODO: This is a todo comment
// XXX: This is another todo comment
// FIXME: this is another todo comment
// NOTE: this is another todo comment
/* TODO multiple */
// MARK: this is a marker