Xamarin Public Jenkins (auto-signing) 468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00

21 lines
381 B
C++

#include <stdint.h>
#include <stdio.h>
#include <vector>
namespace {
struct Foo {
int i;
int j;
};
void doit(const Foo &foo) { printf("doit(%i)\n", foo.i); }
}
int main(int argc, char const *argv[], char const *envp[]) {
std::vector<int> ints;
for (int i = 0; i < 10; ++i)
ints.push_back(i);
printf("hello world\n");
Foo foo = {12, 13};
doit(foo);
return 0;
}