1 /*
2  * Copyright 2016 The Emscripten Authors.  All rights reserved.
3  * Emscripten is available under two separate licenses, the MIT license and the
4  * University of Illinois/NCSA Open Source License.  Both these licenses can be
5  * found in the LICENSE file.
6  */
7 
8 #include <stdio.h>
9 struct IUB {
10   int c;
11   double p;
12   unsigned int pi;
13 };
14 
15 struct IUB iub[] = {{'a', 0.27, 5}, {'c', 0.15, 4}, {'g', 0.12, 3}, {'t', 0.27, 2}, };
16 
17 const unsigned char faceedgesidx[6][4] = {{4, 5, 8, 10},
18                                           {6, 7, 9, 11},
19                                           {0, 2, 8, 9},
20                                           {1, 3, 10, 11},
21                                           {0, 1, 4, 6},
22                                           {2, 3, 5, 7}, };
23 
main(int argc,const char * argv[])24 int main(int argc, const char *argv[]) {
25   printf("*%d,%d,%d,%d*\n", iub[0].c, (int)(iub[1].p * 100), iub[2].pi,
26          faceedgesidx[3][2]);
27   return 0;
28 }
29