about summary refs log tree commit diff stats
path: root/awk/rawk/scratch/debug_test.rawk
blob: 5a0d4b2a3acb9f73b694fa949fc5ea5547409268 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
BEGIN {
    print "=== Debug Test ==="
}

RAWK {
    $test_func = (x) -> {
        return x * 2;
    };
}

{
    result = test_func(5);
    print "Result:", result;
    print "Test completed";
    exit 0;
}