blob: d7e4294b2f2570dd6094cf78e301b4df867a55ac [file] [log] [blame]
/* Test nullptr_t from <stddef.h>. */
/* { dg-do compile } */
/* { dg-options "-std=c23 -pedantic-errors" } */
#include <stddef.h>
void f(nullptr_t);
_Static_assert (sizeof (nullptr_t) == sizeof (char *), "sizeof (nullptr_t)");
_Static_assert (_Alignof (nullptr_t) == _Alignof (char *), "_Alignof (nullptr_t)");