mirror of https://github.com/status-im/xgo.git
14 lines
242 B
Go
14 lines
242 B
Go
|
// Go cross compiler (xgo): Test file for embedded C++ snippets.
|
||
|
// Copyright (c) 2015 Péter Szilágyi. All rights reserved.
|
||
|
//
|
||
|
// Released under the MIT license.
|
||
|
|
||
|
package main
|
||
|
|
||
|
// #include "snippet.h"
|
||
|
import "C"
|
||
|
|
||
|
func main() {
|
||
|
C.sayHi()
|
||
|
}
|