OSDN Git Service

Add rules to build musl-libc executables
[android-x86/external-musl-libc.git] / test / hello.cpp
1 #include <stdio.h>
2
3 class Hello {
4 public:
5         Hello(const char *s) { printf(s); }
6 };
7
8 extern "C" void hello()
9 {
10         Hello("Hello C world!\n");
11         Hello("Hello C++ world!!\n");
12 }