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 8struct vector2d{ 9 int x,y,z; 10}; 11 12int 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