File: i64_load.cpp

package info (click to toggle)
binaryen 68-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 34,900 kB
  • sloc: cpp: 57,351; ansic: 3,562; python: 2,898; sh: 700; makefile: 6
file content (15 lines) | stat: -rw-r--r-- 376 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdint.h>
#include <stdio.h>

struct S1 { unsigned lo:32; unsigned mid:2; unsigned hi:30; };

static struct S1 g_68 = { -1, 0, 0xbbe }; // 0xbbe = 3006

extern "C" void emscripten_autodebug_i32(int32_t x, int32_t y);

int main() {
  emscripten_autodebug_i32(0, g_68.lo);
  emscripten_autodebug_i32(1, g_68.mid);
  emscripten_autodebug_i32(2, g_68.hi);
  return 0;
}