mirror of https://github.com/status-im/xgo.git
12 lines
286 B
C++
12 lines
286 B
C++
|
// Go cross compiler (xgo): Test implementation for embedded C++ snippets.
|
||
|
// Copyright (c) 2015 Péter Szilágyi. All rights reserved.
|
||
|
//
|
||
|
// Released under the MIT license.
|
||
|
|
||
|
#include <iostream>
|
||
|
#include "snippet.h"
|
||
|
|
||
|
void sayHi() {
|
||
|
std::cout << "Hello, embedded C++!" << std::endl;
|
||
|
}
|