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 
main(int argc,const char * argv[])15 int main(int argc, const char *argv[]) {
16   int before = 70;
17   struct IUB iub[] = {{'a', 0.3029549426680, 5},
18                {'c', 0.15, 4},
19                {'g', 0.12, 3},
20                {'t', 0.27, 2}, };
21   int after = 90;
22   printf("*%d,%d,%d,%d,%d,%d*\n", before, iub[0].c, (int)(iub[1].p * 100),
23          iub[2].pi, (int)(iub[0].p * 10000), after);
24   return 0;
25 }
26