summaryrefslogtreecommitdiff
path: root/scripts/test/spectest.js
blob: ede13479ef4558a8fa668c1b58b5eaae6c3010fc (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');
}