// Clause: 7.30 — For isw* functions, the argument shall be WEOF or a value representable as wchar_t; otherwise UB.
#include <wctype.h>
#include <wchar.h>
#include <stdio.h>
int main(void){
    wint_t bad = (wint_t)-2; // not WEOF
    int r = iswalpha(bad);   // UB
    printf("%d\n", r);
    return 0;
}
