Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
emscripten-core
GitHub Repository: emscripten-core/emscripten
Path: blob/main/test/cmake/stdproperty/main.cpp
6174 views
1
// Copyright 2016 The Emscripten Authors. All rights reserved.
2
// Emscripten is available under two separate licenses, the MIT license and the
3
// University of Illinois/NCSA Open Source License. Both these licenses can be
4
// found in the LICENSE file.
5
6
#include <iostream>
7
8
struct vector2d{
9
int x,y,z;
10
};
11
12
int main(int argc, char * argv[])
13
{
14
vector2d v{1,2,3};
15
std::cout << v.x << "," << v.y << "," << v.z << std::endl;
16
}
17
18