summaryrefslogtreecommitdiff
path: root/scripts/test/spectest.js
blob: 3c4bac1b593ea843f24df28ace65ef08101dc3a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export function print() {
  console.log();
}
export function print_i32(arg) {
  console.log(arg, ' : i32');
}
export function print_f32(arg) {
  console.log(arg, ' : f32');
}
export function print_f64(arg) {
  console.log(arg, ' : f64');
}
export function print_i32_f32(arg0, arg1) {
  console.log(arg0, ' : i32');
  console.log(arg1, ' : f32');
}
export function print_f64_f64(arg0, arg1) {
  console.log(arg0, ' : f64');
  console.log(arg1, ' : f64');
}