mirror of
https://github.com/status-im/xgo.git
synced 2025-02-05 15:24:30 +00:00
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()
|
|
}
|