This is a Swift feature. The output stream for the index page and the source HTML page is utf-8 now. The next patch will add the HTML magic to properly render these characters in the browser. llvm-svn: 320725
13 lines
171 B
Swift
13 lines
171 B
Swift
infix operator •: AdditionPrecedence
|
|
|
|
func • (a: Int, b: Int) -> Int {
|
|
return a * b
|
|
}
|
|
|
|
@inline(never)
|
|
func g(a: Int) -> Int{
|
|
return a + 1
|
|
}
|
|
|
|
let i = g(a: 1 • 2)
|