Files
c3c/test/test_suite/bitstruct/fault_to_arrptr.c3
2026-01-20 17:43:16 +01:00

10 lines
276 B
Plaintext

// #target: linux-x64
import libc;
fn void a()
{
fault x = f; // #error: 'f' could not be found
ulong z = (ulong); // #error: Implicitly casting 'typeid' to 'ulong' is not permitted
z = (Sigset_t*)(x); // #error: Implicitly casting 'Sigset_t*' (ulong[16]*) to 'ulong'
}